Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 5, 2023
1 parent 12f6857 commit 4cd3747
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/spikeinterface/sorters/internal/spyking_circus2.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def _run_from_folder(cls, sorter_output_folder, params, verbose):
else:
recording_f = recording

#recording_f = whiten(recording_f, dtype="float32")
# recording_f = whiten(recording_f, dtype="float32")
recording_f = zscore(recording_f, dtype="float32")

## Then, we are detecting peaks with a locally_exclusive method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ def remove_duplicates_via_matching(
}
)

spikes_per_units, counts = np.unique(waveform_extractor.sorting.to_spike_vector()['unit_index'], return_counts=True)
spikes_per_units, counts = np.unique(waveform_extractor.sorting.to_spike_vector()["unit_index"], return_counts=True)
indices = np.argsort(counts)

ignore_ids = []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class RandomProjectionClustering:
"min_cluster_size": 20,
"allow_single_cluster": True,
"core_dist_n_jobs": os.cpu_count(),
"cluster_selection_method": "leaf"
"cluster_selection_method": "leaf",
},
"cleaning_kwargs": {},
"waveforms": {"ms_before": 2, "ms_after": 2, "max_spikes_per_unit": 100},
Expand Down

0 comments on commit 4cd3747

Please sign in to comment.