1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

# http://pyrocko.org - GPLv3 

# 

# The Pyrocko Developers, 21st Century 

# ---|P------/S----------~Lg---------- 

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): 

 

from pyrocko import evalresp_ext as ext 

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)