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

combine sbx files #184

Open
smilingtoad opened this issue Oct 12, 2021 · 1 comment
Open

combine sbx files #184

smilingtoad opened this issue Oct 12, 2021 · 1 comment

Comments

@smilingtoad
Copy link

Hi suite2p community -

I have a small issue I am hoping people can help me out with.

We are using the MATLAB based suite2p along with Scanbox for image acquisition. Scanbox saves files in .sbx format and I need a way to combine a bunch of these small .sbx files into one continuous .sbx file. Dario Ringach of Scanbox seems to think there is a way to do this using suite2p.

Any help or advice would be great!

@generalciao
Copy link

This has been solved and discussed in the python version repository here: MouseLand/suite2p#748

Concatenate binary .sbx files in the Windows CMD prompt using the "copy" command with /b flag and + operator, or using wildcards. Then rename any of the associated .mat files to match the filename of the concatenated .sbx file. Optionally, you can test the concatenated files using standard scanbox tools (like sbxaligntool) prior to importing them in suite2p.

copy st1_000_001.sbx /B + st1_000_002.sbx /B + st1_000_003.sbx /B st1_000_concatenated.sbx /B

copy *.sbx /B st1_000_concatenated.sbx /B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants