Skip to content

Commit

Permalink
add original tim field as well
Browse files Browse the repository at this point in the history
we already have 't' to mimic usual PYME use which has time in ms truncated to integers; 'tim' is a float field in units of [s]
  • Loading branch information
csoeller committed Jul 4, 2023
1 parent 48e811b commit e0dd0f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions PYMEcs/IO/MINFLUX.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def minflux_npy2pyme(fname,return_original_array=False,make_clump_index=True,wit
# and get the total photons harvested
# check with abberior
'nPhotons' : data['itr']['eco'].sum(axis=1),
'tim': data['tim'], # we also keep the original float time index, units are [s]
})

if has_lnc:
Expand Down

0 comments on commit e0dd0f1

Please sign in to comment.