From 9692fb0fbaf294c323edc4bbaeb66d3347e2145c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 16 Oct 2024 12:31:36 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/spikeinterface/curation/auto_merge.py | 42 +++++++++++------------ 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/src/spikeinterface/curation/auto_merge.py b/src/spikeinterface/curation/auto_merge.py index 39a155ec09..e337b3d99d 100644 --- a/src/spikeinterface/curation/auto_merge.py +++ b/src/spikeinterface/curation/auto_merge.py @@ -32,27 +32,27 @@ _default_step_params = { - "num_spikes": {"min_spikes": 100}, - "snr": {"min_snr": 2}, - "remove_contaminated": {"contamination_thresh": 0.2, "refractory_period_ms": 1.0, "censored_period_ms": 0.3}, - "unit_locations": {"max_distance_um": 50}, - "correlogram": { - "corr_diff_thresh": 0.16, - "censor_correlograms_ms": 0.3, - "sigma_smooth_ms": 0.6, - "adaptative_window_thresh": 0.5, - }, - "template_similarity": {"template_diff_thresh": 0.25}, - "presence_distance": {"presence_distance_thresh": 100}, - "knn": {"k_nn": 10}, - "cross_contamination": { - "cc_thresh": 0.1, - "p_value": 0.2, - "refractory_period_ms": 1.0, - "censored_period_ms": 0.3, - }, - "quality_score": {"firing_contamination_balance": 2.5, "refractory_period_ms": 1.0, "censored_period_ms": 0.3}, - } + "num_spikes": {"min_spikes": 100}, + "snr": {"min_snr": 2}, + "remove_contaminated": {"contamination_thresh": 0.2, "refractory_period_ms": 1.0, "censored_period_ms": 0.3}, + "unit_locations": {"max_distance_um": 50}, + "correlogram": { + "corr_diff_thresh": 0.16, + "censor_correlograms_ms": 0.3, + "sigma_smooth_ms": 0.6, + "adaptative_window_thresh": 0.5, + }, + "template_similarity": {"template_diff_thresh": 0.25}, + "presence_distance": {"presence_distance_thresh": 100}, + "knn": {"k_nn": 10}, + "cross_contamination": { + "cc_thresh": 0.1, + "p_value": 0.2, + "refractory_period_ms": 1.0, + "censored_period_ms": 0.3, + }, + "quality_score": {"firing_contamination_balance": 2.5, "refractory_period_ms": 1.0, "censored_period_ms": 0.3}, +} def auto_merges(