From 8df11078b4aa1619289cd4799878983282a78dee Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Thu, 10 Apr 2014 09:31:16 +0200 Subject: [PATCH] bugfix: private methods name corrected; set default values instead of 'None' --- pylot/core/read/inputs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pylot/core/read/inputs.py b/pylot/core/read/inputs.py index fb57f2e3..4c8569f9 100644 --- a/pylot/core/read/inputs.py +++ b/pylot/core/read/inputs.py @@ -134,9 +134,9 @@ class AutoPickParameter(object): class FilterOptions(object): - def __init__(self, filtertype=None, freq=None, order=None): + def __init__(self, filtertype='bandpass', freq=[2., 5.], order=3): self.__filterInformation = {} - self._setfilterType(filtertype) + self._setFilterType(filtertype) self._setFreq(freq) self._setOrder(order)