spikesorting_artifact.py
ArtifactDetectionParameters
¶
Bases: SpyglassMixin
, Manual
Source code in src/spyglass/spikesorting/v0/spikesorting_artifact.py
insert_default()
¶
Insert the default artifact parameters with an appropriate parameter dict.
Source code in src/spyglass/spikesorting/v0/spikesorting_artifact.py
ArtifactDetection
¶
Bases: SpyglassMixin
, Computed
Source code in src/spyglass/spikesorting/v0/spikesorting_artifact.py
make(key)
¶
Populate the ArtifactDetection table.
If custom_artifact_detection is set in selection table, do nothing.
Fetches... - Parameters from ArtifactDetectionParameters - Recording from SpikeSortingRecording (loads with spikeinterface) Uses module-level function _get_artifact_times to detect artifacts.