Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ sortingcomponents = [
# pip install torch
# `medicine-neuro` is likewise optional (and itself depends on torch), needed only
# for the "medicine" motion estimation method. Install separately if needed:
# pip install medicine-neuro
# pip install "medicine-neuro>=1.7"
]

sorters_internal = [
Expand Down Expand Up @@ -314,7 +314,7 @@ test-exporters = [{include-group = "test-common"}]
test-sortingcomponents = [
{include-group = "test-common"},
"torch", # neural network peak detection, motion, matching
"medicine-neuro", # "medicine" motion estimation method
"medicine-neuro>=1.7", # "medicine" motion estimation method
"huggingface_hub", # for `test_single_channel_toy_denoiser_in_peak_pipeline`
]
test-generation = [
Expand Down
4 changes: 3 additions & 1 deletion src/spikeinterface/sortingcomponents/motion/medicine.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ class MedicineRegistration:
activity_network_hidden_features : tuple, default: (256, 256)
Hidden layer sizes for MEDiCINe's activity network.
amplitude_threshold_quantile : float, default: 0.0
Cutoff quantile in [-1, 1] for peak amplitudes. See MEDiCINe's documentation for details.
Fraction in [0, 1) of peaks with the smallest absolute amplitude to ignore. If 0, all peaks are used.
Requires medicine-neuro >= 1.7 (earlier versions thresholded signed amplitudes and accepted values in
[-1, 1]). See MEDiCINe's documentation for details.
batch_size : int, default: 4096
Batch size used for training.
training_steps : int, default: 10000
Expand Down
Loading