-
Notifications
You must be signed in to change notification settings - Fork 7
Nan to zero frames #502
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
base: main
Are you sure you want to change the base?
Nan to zero frames #502
Conversation
|
Hi @tayllatheodoro, can you provide more context here. Are these nan frames appearing in the raw data? I quickly profiled |
|
Hi @talonchandler, so the empty frames of the raw data cames as nan frames instead of zero frames. When we run VS on a FOV with nan frames it aftes the model inference (because of the statistics mesurements) and all frames are not predicted. The nan to zero check was done previously on stabilization step, then VS used to be run after stabilization, but it introduces artifacts to VS. Now we are runing VS on the recontructed phase. And Ivan attempted to correct this here |
|
@tayllatheodoro @talonchandler I just benchmarked NumPy's
|
|
@srivarra let's hold off on this. @tayllatheodoro is going to look closer into the root cause of this issue, and we'll decide what's next. |
🫡 |
convert nan frames to zero, as nan frames causes errors on virtual stain step