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

Export binned time trace #15

Open
DanielisRutkauskas opened this issue May 8, 2018 · 1 comment
Open

Export binned time trace #15

DanielisRutkauskas opened this issue May 8, 2018 · 1 comment
Labels

Comments

@DanielisRutkauskas
Copy link

Is there a way to export a binned time trace?

@tritemio
Copy link

tritemio commented May 8, 2018

It is a matter of getting the timestamps that you need and then creating histogram using standard numpy np.histogram. The result is an array of counts that you can save to disk in many ways, for example using np.savetxt.

The only FRETBursts specific part is getting the timestamps. The options

EDIT:
You can also export a DataFrame of photons in bursts with bext.burst_photon() (added in FRETBursts master, or v0.6.6). Usage example in Example - Exporting Burst Data Including Timestamps.ipynb

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

2 participants