Skip to content

Commit

Permalink
DTT fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasLecocq committed Dec 10, 2023
1 parent ce5bb11 commit efaa9d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion msnoise/s06compute_dtt2.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def main(interval=1, loglevel="INFO"):


values = []
dates = []
for i in range(len(M.index)):
errArray = EM.iloc[i]
dtArray = M.iloc[i]
Expand All @@ -137,7 +138,8 @@ def main(interval=1, loglevel="INFO"):
VecXfilt, VecYfilt, w,
intercept_origin=True)
values.append([m, em, a, ea, m0, em0])
output = pd.DataFrame(values, index=M.index,
dates.append(M.index[i])
output = pd.DataFrame(values, index=dates,
columns=["m", "em", "a", "ea", "m0", "em0"])

xr_save_dtt(station1, station2, components, filterid, mov_stack, output)
Expand Down

0 comments on commit efaa9d9

Please sign in to comment.