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
Hello there,
I would like to combine .continuous files that were mistakenly saved in separate recordings. I would like the outputs of this merger to be saved as .continuous files with the same headers etc. to avoid any unnecessary hacking into my spike sorting scripts. Is there a way to do this in Python or Matlab?
The text was updated successfully, but these errors were encountered:
Hi Luke – there is not an easy way to write .continuous files directly from Python or Matlab, but here are some things that could solve your problem:
Option 1: Load the data into memory, concatenate multiple recordings together, and save the final array in Binary format (e.g. using numpy.ndarray.tofile). If your spike sorter can read this format, you're good to go. Otherwise, you could read the new Binary file into the GUI using the File Reader and save it in Open Ephys format.
Option 2: Concatenate the segments using SpikeInterface (instructions here). This will create an object that includes multiple recording segments which can be passed into the spike sorter of your choice.
Hello there,
I would like to combine .continuous files that were mistakenly saved in separate recordings. I would like the outputs of this merger to be saved as .continuous files with the same headers etc. to avoid any unnecessary hacking into my spike sorting scripts. Is there a way to do this in Python or Matlab?
The text was updated successfully, but these errors were encountered: