{ "metric_params": { "quality_metric_params": { "metric_names": [ "amplitude_cutoff", "amplitude_cv", "amplitude_median", "d_prime", "drift", "firing_range", "firing_rate", "isi_violation", "isolation_distance", "l_ratio", "nearest_neighbor", "num_spikes", "presence_ratio", "rp_violation", "sd_ratio", "silhouette", "sliding_rp_violation", "snr", "synchrony" ], "peak_sign": null, "seed": null, "qm_params": { "presence_ratio": { "bin_duration_s": 60, "mean_fr_ratio_thresh": 0.0 }, "snr": { "peak_sign": "neg", "peak_mode": "extremum" }, "isi_violation": { "isi_threshold_ms": 1.5, "min_isi_ms": 0 }, "rp_violation": { "refractory_period_ms": 1.0, "censored_period_ms": 0.0 }, "sliding_rp_violation": { "min_spikes": 0, "bin_size_ms": 0.25, "window_size_s": 1, "exclude_ref_period_below_ms": 0.5, "max_ref_period_ms": 10, "contamination_values": null }, "synchrony": { "synchrony_sizes": [ 2, 4, 8 ] }, "firing_range": { "bin_size_s": 5, "percentiles": [ 5, 95 ] }, "amplitude_cv": { "average_num_spikes_per_bin": 50, "percentiles": [ 5, 95 ], "min_num_bins": 10, "amplitude_extension": "spike_amplitudes" }, "amplitude_cutoff": { "peak_sign": "neg", "num_histogram_bins": 100, "histogram_smoothing_value": 3, "amplitudes_bins_min_ratio": 5 }, "amplitude_median": { "peak_sign": "neg" }, "drift": { "interval_s": 60, "min_spikes_per_interval": 100, "direction": "y", "min_num_bins": 2 }, "nearest_neighbor": { "max_spikes": 10000, "n_neighbors": 5 }, "nn_isolation": { "max_spikes": 10000, "min_spikes": 10, "min_fr": 0.0, "n_neighbors": 4, "n_components": 10, "radius_um": 100, "peak_sign": "neg" }, "nn_noise_overlap": { "max_spikes": 10000, "min_spikes": 10, "min_fr": 0.0, "n_neighbors": 4, "n_components": 10, "radius_um": 100, "peak_sign": "neg" }, "silhouette": { "method": [ "simplified" ] } }, "skip_pc_metrics": false }, "template_metric_params": { "metric_names": [ "half_width", "num_negative_peaks", "num_positive_peaks", "peak_to_valley", "peak_trough_ratio", "recovery_slope", "repolarization_slope" ], "sparsity": null, "peak_sign": "neg", "upsampling_factor": 10, "metrics_kwargs": { "recovery_window_ms": 0.7, "peak_relative_threshold": 0.2, "peak_width_ms": 0.1, "depth_direction": "y", "min_channels_for_velocity": 5, "min_r2_velocity": 0.5, "exp_peak_function": "ptp", "min_r2_exp_decay": 0.5, "spread_threshold": 0.2, "spread_smooth_um": 20, "column_range": null } } }, "requirements": { "spikeinterface": "0.100.1", "scikit-learn": "1.3.2" }, "label_conversion": { "1": "noise", "2": "mua", "3": "sua" }, "additional_required_files": { "filename": "cascaded_classifier.py" }, "untrusted_types_imports": { "untrusted_types": [ "numpy.dtype", "sklearn.metrics._classification.balanced_accuracy_score", "sklearn.metrics._scorer._PredictScorer", "sklearn.model_selection._search_successive_halving.HalvingGridSearchCV", "sklearn.model_selection._split.StratifiedKFold", "__main__.CascadedClassifier" ] } }