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

Can I concate two recordings from one probe and perform motion correction to restore them to one recording? #3454

Open
DaohanZhang opened this issue Oct 1, 2024 · 3 comments
Labels
motion correction Questions related to motion correction question General question regarding SI

Comments

@DaohanZhang
Copy link

Hey! An system error occurred during when I was using neuropixels for recordings. I restarted the system and got two recordings from one probe. There will be some drifting due to the interval from the end of my first recordings to the beginning of my second reording, which lasts for approximately 10 min. I wonder is it possible to concate two recordings together and use motion correction, in order to restore them as one recording for later sorting process? Thanks a lot!

@chrishalcrow
Copy link
Collaborator

Hi @DaohanZhang , this problem is being worked on (mainly by @JoeZiminski) here: #3126 but this is still in development.

Until that is ready, you could just try and concatenate the recordings using both_recordings = concatenate_recordings([recording_1, recording_2]) (see more here), apply motion correction (or nothing) to both_recordings and see what happens.

@alejoe91 alejoe91 added question General question regarding SI motion correction Questions related to motion correction labels Oct 3, 2024
@cwindolf
Copy link
Collaborator

Hi @DaohanZhang , I'd second what Chris has written there! This is a strategy I've used for some multi-segment recordings in the past.

@DaohanZhang
Copy link
Author

Thanks @cwindolf! So you got consistent number of units in each segments after sorting process, just like sorting one segments, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
motion correction Questions related to motion correction question General question regarding SI
Projects
None yet
Development

No branches or pull requests

4 participants