Created
August 1, 2017 03:52
-
-
Save tritemio/8a9419fb56f94f6c1eed53fbc77772d6 to your computer and use it in GitHub Desktop.
Load in FRETBursts single-laser smFRET files from SM files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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