A seismology toolkit for Python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
896 B

import evalresp_ext as ext
import time
def evalresp(
sta_list = '*',
cha_list = '*',
net_code = '*',
locid = '*',
instant = None,
units = 'VEL', # VEL, DIS, ACC, DEF
file = '',
freqs = None,
rtype = 'AP', # CS, AP
verbose = '',
start_stage = -1,
stop_stage = 0,
stdio_flag = 0,
listinterp_out_flag = 0,
listinterp_in_flag = 0,
listinterp_tension = 1000.0):
datime = time.strftime('%Y,%j,%H:%M:%S', time.gmtime(instant))
return ext.evalresp(sta_list, cha_list, net_code, locid, datime,
units, file, freqs, rtype, verbose,
start_stage, stop_stage, stdio_flag,
listinterp_out_flag, listinterp_in_flag,
listinterp_tension)