Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
luiztauffer committed Jan 12, 2024
1 parent 426c9c3 commit 975693d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spikeinterface_pipelines/preprocessing/params.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pydantic import BaseModel, Field
from typing import Optional, Union, List
from typing import Optional, Union, List, Literal
from enum import Enum


Expand Down Expand Up @@ -44,7 +44,7 @@ class HighpassSpatialFilter(BaseModel):
# Motion correction ---------------------------------------------------------------
class MCDetectKwargs(BaseModel):
method: str = Field(default="locally_exclusive", description="The method for peak detection.")
peak_sign: Literal["pos", "neg", "both] = Field(default="neg", description="The peak sign to detect peaks.")
peak_sign: Literal["pos", "neg", "both"] = Field(default="neg", description="The peak sign to detect peaks.")
detect_threshold: float = Field(default=8.0, description="The detection threshold in MAD units.")
exclude_sweep_ms: float = Field(default=0.1, description="The time sweep to exclude for time de-duplication.")
radius_um: float = Field(default=50.0, description="The radius in um for channel de-duplication.")
Expand Down

0 comments on commit 975693d

Please sign in to comment.