Skip to content

Commit

Permalink
implemented dacheng pr
Browse files Browse the repository at this point in the history
  • Loading branch information
FaroutYLq committed Feb 26, 2024
1 parent 3f49453 commit eb8f611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion saltax/plugins/s_peaklets.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def compute(self, records, start, end):
# possibly due to its currently primitive scheduling.
hitlet_time_shift = (hitlets['left'] - hitlets['left_integration']) * hitlets['dt']
hit_max_times = (
hitlets['time'] + hitlet_time_shift
hitlets_time + hitlet_time_shift
) # add time shift again to get correct maximum
hit_max_times += hitlets['dt'] * hit_max_sample(records, hitlets)

Expand Down

0 comments on commit eb8f611

Please sign in to comment.