Skip to content

Commit

Permalink
fix time stamps of timed data frame in mpes loader
Browse files Browse the repository at this point in the history
  • Loading branch information
rettigl committed Nov 5, 2023
1 parent 772d137 commit 54d3150
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sed/loader/mpes/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def hdf5_to_timed_array(
# need to correct for the time it took to write the file
start_time -= len(ms_marker) / 1000

time_stamp_data = start_time + ms_marker / 1000
time_stamp_data = start_time + np.arange(len(ms_marker)) / 1000

data_list.append(time_stamp_data)

Expand Down

0 comments on commit 54d3150

Please sign in to comment.