Update spikeinterface/core/baserecording.py
@@ -595,7 +595,7 @@ class BaseRecording(BaseExtractor):
sub_recording = ChannelSliceRecording(self, channel_ids, renamed_channel_ids=renamed_channel_ids)
return sub_recording
- def remove_channels(self, removed_channel_ids):
+ def remove_channels(self, remove_channel_ids):
from spikeinterface import ChannelSliceRecording
new_channel_ids = self.channel_ids[~np.in1d(self.channel_ids, removed_channel_ids)]
sub_recording = ChannelSliceRecording(self, new_channel_ids)
