This question arose in neo but it has a clear solution in spikeinterface.
The problem is that neo has both wide band and filtered signals in the same stream but users usually want the stream band. I am writing the solution here for @AbhiSwamiUConn as this is a proper spikeinterface issue:
from pathlib import Path
from spikeinterface.extractors import read_plexon
file_path = f"your_plexon_file_path"
stream_id = "0" # This corresponds to wideband and filtered signals
recording = read_plexon(file_path=file_path, stream_name="WB-Wideband")
channel_ids = recording.get_channel_ids()
wide_band_channel_ids = [id for id in channel_ids if "WB" in id]
wide_band_recording = recording.select_channels(channel_ids=wide_band_channel_ids)
wide_band_recording
This will give you the solution.
This question arose in neo but it has a clear solution in spikeinterface.
The problem is that neo has both wide band and filtered signals in the same stream but users usually want the stream band. I am writing the solution here for @AbhiSwamiUConn as this is a proper spikeinterface issue:
This will give you the solution.