Skip to content
Discussion options

You must be logged in to vote

Hi @MikelElorza I made a new update:

just update it with
pip install --upgrade snAPI

Now we have a new function to split the calculation of the g(2) in consecutive windows:
https://picoquant.github.io/snAPI/snAPI.Main.html#snAPI.Main.Correlation.setSequenceMode

I also made a script for you that:
https://github.com/PicoQuant/snAPI/blob/main/demos/Demo_g2overTime.py
Comment line 11 and uncomment line 12 and it works with ptu-files.
It should also be fast enough, to calculate these g(2) windows in realtime. Only the pcolormesh plot can't handle this for long..

Please tell us, if this solves your problem!

Best regards,

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@MikelElorza
Comment options

@snizzleorg
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@MikelElorza
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tpoint75
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
3 participants