OpenSMFS / FRETBursts

Burst analysis software for single and multi-spot single-molecule FRET (smFRET) data.
https://opensmfs.github.io/FRETBursts/
GNU General Public License v2.0
12 stars 9 forks source link

Burst data #1

Open tritemio opened 6 years ago

tritemio commented 6 years ago

From @kfriedl on June 27, 2017 9:47

I'd like to extract the burst data after a burstsearch and store it in a file. As far as I can see, the burst start and stop information is stored in the burstlib.data object. How can I add the detection channel and excitation period information?

Copied from original issue: tritemio/FRETBursts#63

tritemio commented 6 years ago

I recommend exporting all the burst data in a pandas DataFrame with the function:

bext.burst_data

For your info, the core burst data is in Data.mburst (a list of Bursts objects). Bursts object contain minimal information such as burst start/stop and a few other properties. Keep in mind that Bursts gives counts with no correction, and burst durations and times in timestamps_units.

Conversely bext.burst_data returns corrected counts in all the different stream, times in milliseconds and basically all the burst information contained in additional Data attributes (including background in each stream).

tritemio commented 6 years ago

Also, one of FRETBursts notebooks shows how to export burst data and timestamps in each burst: