comparison trafficintelligence/indicators.py @ 1112:956a66096e91

removed code now available in simulation project, and issue with deprecated find function in matplotlib
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 05 Jun 2019 13:12:10 -0400
parents b1ba6d44fcb9
children 6baa915dd8bd
comparison
equal deleted inserted replaced
1111:345cd9cd62d8 1112:956a66096e91
1 #! /usr/bin/env python 1 #! /usr/bin/env python
2 '''Class for indicators, temporal indicators, and safety indicators''' 2 '''Class for indicators, temporal indicators, and safety indicators'''
3 3
4 from matplotlib.pyplot import plot, ylim 4 from matplotlib.pyplot import plot, ylim
5 from matplotlib.pylab import find
6 from numpy import array, arange, mean, floor, mean 5 from numpy import array, arange, mean, floor, mean
7 from scipy import percentile 6 from scipy import percentile
8 7
9 from trafficintelligence import moving 8 from trafficintelligence import moving
10 from trafficintelligence.utils import LCSS as utilsLCSS 9 from trafficintelligence.utils import LCSS as utilsLCSS