Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Burst data #1

Open
tritemio opened this issue Nov 20, 2017 · 2 comments
Open

Burst data #1

tritemio opened this issue Nov 20, 2017 · 2 comments
Labels

Comments

@tritemio
Copy link

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#63

@tritemio
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant