|
69 | 69 |
|
70 | 70 | _default_step_params = { |
71 | 71 | "num_spikes": {"min_spikes": 100}, |
72 | | - "snr": {"min_snr": 2}, |
| 72 | + "snr": {"min_snr": 2.0}, |
73 | 73 | "remove_contaminated": {"contamination_thresh": 0.2, "refractory_period_ms": 1.0, "censored_period_ms": 0.3}, |
74 | | - "unit_locations": {"max_distance_um": 150}, |
| 74 | + "unit_locations": {"max_distance_um": 150.0}, |
75 | 75 | "correlogram": { |
76 | 76 | "corr_diff_thresh": 0.16, |
77 | 77 | "censor_correlograms_ms": 0.15, |
78 | 78 | "sigma_smooth_ms": 0.6, |
79 | 79 | "adaptative_window_thresh": 0.5, |
80 | 80 | }, |
81 | 81 | "template_similarity": {"similarity_method": "l1", "template_diff_thresh": 0.25}, |
82 | | - "presence_distance": {"presence_distance_thresh": 100}, |
| 82 | + "presence_distance": {"presence_distance_thresh": 100.0}, |
83 | 83 | "knn": {"k_nn": 10}, |
84 | 84 | "cross_contamination": { |
85 | 85 | "cc_thresh": 0.1, |
|
88 | 88 | "censored_period_ms": 0.3, |
89 | 89 | }, |
90 | 90 | "quality_score": {"firing_contamination_balance": 1.5, "refractory_period_ms": 1.0, "censored_period_ms": 0.3}, |
91 | | - "slay_score": {"k1": 0.25, "k2": 1, "slay_threshold": 0.5}, |
| 91 | + "slay_score": {"k1": 0.25, "k2": 1.0, "slay_threshold": 0.5}, |
92 | 92 | } |
93 | 93 |
|
94 | 94 |
|
@@ -534,7 +534,7 @@ def get_potential_auto_merge( |
534 | 534 | corr_diff_thresh: float = 0.16, |
535 | 535 | template_diff_thresh: float = 0.25, |
536 | 536 | contamination_thresh: float = 0.2, |
537 | | - presence_distance_thresh: float = 100, |
| 537 | + presence_distance_thresh: float = 100.0, |
538 | 538 | p_value: float = 0.2, |
539 | 539 | cc_thresh: float = 0.1, |
540 | 540 | censored_period_ms: float = 0.3, |
|
0 commit comments