You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I understand, the registration metrics do not exclude any of the 'bad frames' at the moment: the PCA is performed on an equally subsampled set of frames from the registered movie. This leads to really high metrics on sessions where there were artefacts e.g. the signal dropping suddenly (I've attached a screenshot from the GUI as an example). This approach makes sense for the automatically computed bad frames as you would otherwise underestimate potential registration errors, but surely it would be good to at least take into account the user-defined bad_frames.npy array for these metrics?
It seems that this would be relatively easy fix in this part of the main pipeline code...
Thanks for raising this issue, @samupicard! That's a great point you make and we've added a functionality to only remove any user-specified bad_frames before computing the registration metrics. This change should be integrated soon to the main branch but if you'd like to try it out now, feel free to pull the latest changes from the dev branch.
I'll close this issue for now but feel free to reopen if the issue persists.
As far as I understand, the registration metrics do not exclude any of the 'bad frames' at the moment: the PCA is performed on an equally subsampled set of frames from the registered movie. This leads to really high metrics on sessions where there were artefacts e.g. the signal dropping suddenly (I've attached a screenshot from the GUI as an example). This approach makes sense for the automatically computed bad frames as you would otherwise underestimate potential registration errors, but surely it would be good to at least take into account the user-defined bad_frames.npy array for these metrics?
It seems that this would be relatively easy fix in this part of the main pipeline code...
suite2p/suite2p/run_s2p.py
Lines 148 to 163 in c88e1ba
The text was updated successfully, but these errors were encountered: