Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qm names list #7

Merged
merged 1 commit into from
Jan 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
qm names list
luiztauffer committed Jan 15, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
nsoranzo Nicola Soranzo
commit bf57985b89da43ca06b2e237c21d0498dd7d6257
6 changes: 4 additions & 2 deletions src/spikeinterface_pipelines/postprocessing/params.py
Original file line number Diff line number Diff line change
@@ -94,10 +94,12 @@ class QMParams(BaseModel):
nn_noise_overlap: NNIsolation = Field(default=NNIsolation(), description="Nearest neighbor noise overlap.")


# TODO - fill in metric_names defauklt value with all the metric names
class QualityMetrics(BaseModel):
qm_params: QMParams = Field(default=QMParams(), description="Quality metric parameters.")
metric_names: Optional[List[str]] = Field(default=None, description="List of metric names to compute. If None, all available metrics are computed.")
metric_names: List[str] = Field(
default=["presence_ratio", "snr", "isi_violation", "rp_violation", "sliding_rp_violation", "amplitude_cutoff", "amplitude_median", "nearest_neighbor", "nn_isolation", "nn_noise_overlap"],
description="List of metric names to compute. If None, all available metrics are computed."
)
n_jobs: int = Field(default=1, description="Number of jobs.")