fixed usage of keyword arguments;

This commit is contained in:
Sebastian Wehling-Benatelli 2014-06-11 05:43:27 +02:00
parent e659e13a0e
commit e7507a325f
2 changed files with 4 additions and 3 deletions

View File

@ -1,2 +1,2 @@
from pylot.core.read.data import (GenericDataStructure, SeiscompDataStructure) from pylot.core.read.data import (GenericDataStructure, SeiscompDataStructure)
from pylot.core.read.inputs import (AutoPickParameter, FilterOptions) from pylot.core.read.inputs import (AutoPickParameter, FilterOptions)

View File

@ -6,7 +6,7 @@ class AutoPickParameter(object):
''' '''
AutoPickParameters is a parameter type object capable to read and/or write AutoPickParameters is a parameter type object capable to read and/or write
parameter ASCII and binary files. parameter ASCII and binary files.
:param fn str: Filename of the input file :param fn str: Filename of the input file
Parameters are given for example as follows: Parameters are given for example as follows:
@ -134,7 +134,8 @@ class AutoPickParameter(object):
class FilterOptions(object): class FilterOptions(object):
def __init__(self, filtertype='bandpass', freq=[2., 5.], order=3): def __init__(self, filtertype='bandpass', freq=[2., 5.], order=3,
**kwargs):
self.__filterInformation = {} self.__filterInformation = {}
self._setFilterType(filtertype) self._setFilterType(filtertype)
self._setFreq(freq) self._setFreq(freq)