Skip to content

Commit

Permalink
Update data_pipeline.py
Browse files Browse the repository at this point in the history
  • Loading branch information
YijianZhou committed Apr 28, 2022
1 parent 98aac5b commit c922629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def read_data(st_paths, sta_dict):
# if format 2: different gain for 3-chn & time invariant
elif type(gain[0])==float:
for ii in range(3): st[ii].data = st[ii].data / gain[ii]
# format 3: different gain for 3-chn & time variant
# if format 3: different gain for 3-chn & time variant
elif type(gain[0])==list:
for [ge,gn,gz,t0,t1] in gain:
if t0<st_time<t1: break
Expand Down

0 comments on commit c922629

Please sign in to comment.