Open TheChymera opened 1 year ago
@CodyCBakerPhD any ideas how we can merge the two streams?
Apparently those streams just contain different channels, because more channels were recorded than what one input card alone supports.
any ideas how we can merge the two streams?
So what you're specifically asking is - you want a single ElectricalSeries
that combines the main two streams from Neuralynx (not including the wheel activity) because they really ought to have been the same 'device' but were separated due to hardware reasons?
And you are able to read that data from each stream as a separate RecordingExtractor
object?
For this I will rope in @alejoe91 to this conversation - if he doesn't reply here we can open an issue specific to SpikeInterface (or ask on their slack channel) - but it should be possible to create a single RecordingExtractor
object by combining the other two, I just don't recall what the modern syntax for it is
@CodyCBakerPhD yes to the first two questions. @alejoe91 any advice on this?
Or @h-mayorquin probably knows
You can use the aggregate_channels
function :)
https://spikeinterface.readthedocs.io/en/latest/modules/core.html#manipulating-objects-slicing-aggregating
Did @alejoe91 sugestion worked for you @TheChymera ?
So for some neuralynx data directories (e.g. the one we're trying to deal with at the moment), there 2 separate streams for extracellular ephys. The warning is about 3 but the third one is the wheel which @manimoh is trying to process separately. Apparently those streams just contain different channels, because more channels were recorded than what one input card alone supports. Any idea how we can get them to be merged?
This is the error again, for reference purposes: