Skip to content

Commit

Permalink
Merge branch 'dev_sim2root' of https://github.com/grand-mother/grand
Browse files Browse the repository at this point in the history
…into dev_sim2root
  • Loading branch information
mjtueros committed Mar 7, 2024
2 parents f8a1cf7 + 7319aaf commit 6ae02e9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/convert_efield2efield.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,8 @@ def impz(b, a):
out_tefield.trace=vout
out_tefield.du_nanoseconds=du_nanoseconds
out_tefield.du_seconds=du_seconds

out_tefield.analysis_level = tefield.analysis_level+1

out_tefield.fill()
out_tefield.write()
Expand All @@ -573,7 +575,9 @@ def impz(b, a):
outrun.copy_contents(trun)
if(target_sampling_rate_mhz>0):
outrun.t_bin_size = [1e3/target_sampling_rate_mhz]*len(outrun.t_bin_size)


outrun.analysis_level = trun.analysis_level+1

outrun.fill()
outrun.write()

Expand Down

0 comments on commit 6ae02e9

Please sign in to comment.