[bugfix] obspy filter function do not use order but corners as parameter name (keyword changed for argument parser)
This commit is contained in:
parent
4548f361e4
commit
8dd100792e
@ -209,7 +209,7 @@ class FilterOptions(object):
|
|||||||
def parseFilterOptions(self):
|
def parseFilterOptions(self):
|
||||||
if self.getFilterType():
|
if self.getFilterType():
|
||||||
robject = {'type':self.getFilterType()}
|
robject = {'type':self.getFilterType()}
|
||||||
robject['order'] = self.getOrder()
|
robject['corners'] = self.getOrder()
|
||||||
if len(self.getFreq()) > 1:
|
if len(self.getFreq()) > 1:
|
||||||
robject['freqmin'] = self.getFreq()[0]
|
robject['freqmin'] = self.getFreq()[0]
|
||||||
robject['freqmax'] = self.getFreq()[1]
|
robject['freqmax'] = self.getFreq()[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user