Closed alejoe91 closed 5 years ago
Wouldn't this screw up with klusta? Would it not be better to provide klusta with a modified probe file where the grounded channel is removed from the probe-file 'channel' entry? This works well when manually running klusta it seems.
Imo bad channels should not be included in further steps at all (e.g., it shouldn't be possible to use the LFP in that channel in analysis for example)
I think the clustering would not be screwed up, as we are removing noisy information and just duplicating existing information. Sometimes EAP is a bad channel, but when filtered in the LFP band it might still be useful. Anyway we could discuss about modifying the probe file on the fly. It can be a good solution :)
Ok, maybe some middle ground would be fine. I suppose "bad" channels can be labeled as such in exdir/Neo when --ground is used in the process action, and that subsequent analysis using e.g., exana would raise some userWarning if that data is used.
Now this is nicely fixed by removing the bad channels in spike_extractors. Needs to be updated for the command line interface though
Fixed with SpikeInterface: bad channels are removed
We could duplicate one of the good channels in the channel group on the bad one