Extend artifact detection: DetectAndRemoveArtifacts preprocessor and signed saturation#4539
Extend artifact detection: DetectAndRemoveArtifacts preprocessor and signed saturation#4539alejoe91 wants to merge 31 commits intoSpikeInterface:mainfrom
DetectAndRemoveArtifacts preprocessor and signed saturation#4539Conversation
|
Hello, this is great. Part of (my) pipeline philosophy is that you can load a pipeline from a dumped json/pickle: I don't know how this will work when one argument is a recording object? Might just work? And I also like the idea that you can specify a pipeline externally without reference to the recording, which this breaks. But more philosophical than practical... I can't really see a way around this. |
I have a suggestion. We can have some "magic" string:
What do you think? |
This PR introduces a
DetectAndRemoveArtifactsRecordingclass so that it can be used in the preprocessing pipeline.Users can pass a
recording_to_detect: in this case, saturation/artifacts are detected on that recording (e.g., raw) and applied to the preprocessor parent (preprocessed)Also extended saturation to optionally provide the "sign" of the saturation events. This can be useful to further inspect saturation issues and track down experimental causes to the saturation.