[change] magnitude calculation problem using evalresp in GUI, changed to usage of ObsPy intrinsic function
This commit is contained in:
parent
7187cb337b
commit
02083e2bf8
@ -582,10 +582,8 @@ def restitute_trace(input_tuple):
|
|||||||
fname = Parser(find_in_list(inobj, seed_id))
|
fname = Parser(find_in_list(inobj, seed_id))
|
||||||
else:
|
else:
|
||||||
fname = inobj
|
fname = inobj
|
||||||
seedresp = dict(filename=fname,
|
paz = fname.get_paz(tr.id, datetime=tr.stats.starttime)
|
||||||
date=stime,
|
kwargs = dict(pre_filt=prefilt, paz_remove=paz, remove_sensitivity=True)
|
||||||
units=unit)
|
|
||||||
kwargs = dict(pre_filt=prefilt, seedresp=seedresp)
|
|
||||||
elif invtype == 'xml':
|
elif invtype == 'xml':
|
||||||
invlist = inobj
|
invlist = inobj
|
||||||
if len(invlist) > 1:
|
if len(invlist) > 1:
|
||||||
|
Loading…
Reference in New Issue
Block a user