Skip to content

Instantly share code, notes, and snippets.

@tritemio
Created August 1, 2017 03:52
Show Gist options
  • Save tritemio/8a9419fb56f94f6c1eed53fbc77772d6 to your computer and use it in GitHub Desktop.
Save tritemio/8a9419fb56f94f6c1eed53fbc77772d6 to your computer and use it in GitHub Desktop.
Load in FRETBursts single-laser smFRET files from SM files
def sm_noalex(fname):
print(" - Loading '%s' ... " % fname)
ph_times_t, det_t, labels = loader.load_sm(fname, return_labels=True)
print(" [DONE]\n")
a_em = (det_t == 1)
dx = Data(fname=fname, clk_p=12.5e-9, nch=1,
ALEX=False, lifetime=False, alternated=False,
meas_type='smFRET',
ph_times_m=[ph_times_t], det_donor_accept=(0, 1), A_em=[a_em],
ch_labels=labels)
return dx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment