fixed usage of keyword arguments;
This commit is contained in:
parent
e659e13a0e
commit
e7507a325f
@ -1,2 +1,2 @@
|
||||
from pylot.core.read.data import (GenericDataStructure, SeiscompDataStructure)
|
||||
from pylot.core.read.inputs import (AutoPickParameter, FilterOptions)
|
||||
from pylot.core.read.inputs import (AutoPickParameter, FilterOptions)
|
||||
|
@ -6,7 +6,7 @@ class AutoPickParameter(object):
|
||||
'''
|
||||
AutoPickParameters is a parameter type object capable to read and/or write
|
||||
parameter ASCII and binary files.
|
||||
|
||||
|
||||
:param fn str: Filename of the input file
|
||||
|
||||
Parameters are given for example as follows:
|
||||
@ -134,7 +134,8 @@ class AutoPickParameter(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._setFilterType(filtertype)
|
||||
self._setFreq(freq)
|
||||
|
Loading…
Reference in New Issue
Block a user