Skip to content

Commit

Permalink
Fixed a bug with sparsity and TemplateExtractor
Browse files Browse the repository at this point in the history
  • Loading branch information
DradeAW committed Dec 13, 2023
1 parent b930cae commit fa7f850
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lussac/core/template_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,7 @@ def compute_best_channels(self, unit_ids: Sequence | None = None, highpass_filte
'max_spikes_per_unit': self.params['max_spikes_sparsity'],
'precompute_template': ("average", ),
'return_scaled': False,
'sparse': False,
'allow_unfiltered': True
}
wvf_extractor = si.extract_waveforms(self.recording, sorting, mode="memory", n_jobs=1, **params)
Expand Down

0 comments on commit fa7f850

Please sign in to comment.