Skip to content

Commit

Permalink
Loader: add acquisition_duration to .SM 1-laser smFRET data files
Browse files Browse the repository at this point in the history
  • Loading branch information
tritemio committed Mar 8, 2018
1 parent f42a8bf commit 1974c5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fretbursts/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,4 +732,5 @@ def sm_single_laser(fname):
meas_type='smFRET',
ph_times_m=[ph_times_t], det_donor_accept=(0, 1), A_em=[a_em],
ch_labels=labels)
dx.add(acquisition_duration=np.round(dx.time_max - dx.time_min, 1))
return dx

0 comments on commit 1974c5f

Please sign in to comment.