updated .travis.yml

master
pbrod 9 years ago
parent cf6ab92c14
commit 0332c44562

@ -35,7 +35,8 @@ before_install:
- sudo apt-get install gfortran - sudo apt-get install gfortran
# Install packages # Install packages
install: install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy pytest matplotlib nose pytest-pep8 pytest-cov mpmath pillow - conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy pytest matplotlib nose pytest-pep8 pytest-cov mpmath
- pip install pillow
- pip install numdifftools - pip install numdifftools
- pip install coveralls - pip install coveralls
- pip install codecov - pip install codecov

@ -91,8 +91,8 @@ class LevelCrossings(PlotData):
options.update(**kwds) options.update(**kwds)
super(LevelCrossings, self).__init__(*args, **options) super(LevelCrossings, self).__init__(*args, **options)
self.intensity = kwds.get('intensity', False) self.intensity = kwds.get('intensity', False)
self.sigma = kwds.get('sigma', None) self.sigma = kwds.get('sigma')
self.mean = kwds.get('mean', None) self.mean = kwds.get('mean')
# self.setplotter(plotmethod='step') # self.setplotter(plotmethod='step')
icmax = self.data.argmax() icmax = self.data.argmax()
@ -734,7 +734,7 @@ class CyclePairs(PlotData):
else: else:
defnr = kind defnr = kind
if ((defnr < 0) or (defnr > 3)): if defnr not in [1, 2, 3, 4]:
raise ValueError('kind must be one of (1,2,3,4).') raise ValueError('kind must be one of (1,2,3,4).')
m, M = self.get_minima_and_maxima() m, M = self.get_minima_and_maxima()
@ -1230,7 +1230,7 @@ class TimeSeries(PlotData):
dt = self.sampling_period() dt = self.sampling_period()
yy = self.data.ravel() yy = self.data.ravel()
if not (tr is None): if tr is not None:
yy = tr.dat2gauss(yy) yy = tr.dat2gauss(yy)
yy = detrend(yy) if hasattr(detrend, '__call__') else yy yy = detrend(yy) if hasattr(detrend, '__call__') else yy
n = len(yy) n = len(yy)

Loading…
Cancel
Save