Skip to content

Commit

Permalink
fix sortingcomponents tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alejoe91 committed May 14, 2024
1 parent 86dd007 commit 4a8941b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion src/spikeinterface/sortingcomponents/clustering/circus.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,14 @@ def main_function(cls, recording, peaks, params):
)

templates = Templates(
templates_array, fs, nbefore, None, recording.channel_ids, unit_ids, recording.get_probe()
templates_array=templates_array,
sampling_frequency=fs,
nbefore=nbefore,
sparsity_mask=None,
channel_ids=recording.channel_ids,
unit_ids=unit_ids,
probe=recording.get_probe(),
is_scaled=False,
)
if params["noise_levels"] is None:
params["noise_levels"] = get_noise_levels(recording, return_scaled=False)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,14 @@ def main_function(cls, recording, peaks, params):
)

templates = Templates(
templates_array, fs, nbefore, None, recording.channel_ids, unit_ids, recording.get_probe()
templates_array=templates_array,
sampling_frequency=fs,
nbefore=nbefore,
sparsity_mask=None,
channel_ids=recording.channel_ids,
unit_ids=unit_ids,
probe=recording.get_probe(),
is_scaled=False,
)
if params["noise_levels"] is None:
params["noise_levels"] = get_noise_levels(recording, return_scaled=False)
Expand Down

0 comments on commit 4a8941b

Please sign in to comment.