[bugfix] obspy filter function do not use order but corners as parameter name (keyword changed for argument parser)

This commit is contained in:
Sebastian Wehling-Benatelli 2015-06-24 14:30:48 +02:00
parent 4548f361e4
commit 8dd100792e

View File

@ -209,7 +209,7 @@ class FilterOptions(object):
def parseFilterOptions(self):
if self.getFilterType():
robject = {'type':self.getFilterType()}
robject['order'] = self.getOrder()
robject['corners'] = self.getOrder()
if len(self.getFreq()) > 1:
robject['freqmin'] = self.getFreq()[0]
robject['freqmax'] = self.getFreq()[1]