cibrrig.sorting.export_to_alf
Attributes
Classes
Functions
Test if the UnitRefine model is available. |
Module Contents
- cibrrig.sorting.export_to_alf.test_unit_refine_model_import()[source]
Test if the UnitRefine model is available.
- class cibrrig.sorting.export_to_alf.ALFExporter(analyzer: spikeinterface.core.SortingAnalyzer, dest: pathlib.Path, bin_path: pathlib.Path | None = None, copy_binary: bool = False, job_kwargs: dict = dict(n_jobs=1, chunk_size='1s'), testing: bool = False)[source]
-
- save_templates()[source]
Save templates in ALF format
Cluster waveforms and template waveforms are identical
- _apply_unit_refine_labels()[source]
Apply UnitRefine (https://spikeinterface.readthedocs.io/en/stable/tutorials/curation/plot_1_automated_curation.html#sphx-glr-tutorials-curation-plot-1-automated-curation-py) to auto label the noise, multi-unit activity (MUA), and single-unit activity (SUA) clusters.
- create_full_metrics()[source]
Extract the metrics from the analyzer, join them together, apply the unitrefine model, and save
- create_pca_features()[source]
Extract the PC features from the analzyer and save to the target folder.
This takes a while.