Skip to content

Commit

Permalink
Update pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
khl02007 committed Jul 29, 2023
1 parent 6f012fb commit 8870280
Show file tree
Hide file tree
Showing 4 changed files with 1,148 additions and 19 deletions.
4 changes: 3 additions & 1 deletion src/spyglass/spikesorting/v1/artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

schema = dj.schema("spikesorting_v1_artifact")


@schema
class ArtifactDetectionParameter(dj.Manual):
definition = """
Expand Down Expand Up @@ -47,7 +48,7 @@ def insert_default(self):
@schema
class ArtifactDetectionSelection(dj.Manual):
definition = """
# Processed recording + artifact detection parameter
# Processed recording and artifact detection parameter
-> SpikeSortingRecording
-> ArtifactDetectionParameter
"""
Expand Down Expand Up @@ -130,6 +131,7 @@ def make(self, key):
# insert into computed table
self.insert1(key)


def _get_artifact_times(
recording: si.BaseRecording,
zscore_thresh: Union[float, None] = None,
Expand Down
Loading

0 comments on commit 8870280

Please sign in to comment.