MountainSortAnalyzer#

class neurodent.core.MountainSortAnalyzer[source]#

Bases: object

static sort_recording(recording: BaseRecording, plot_probe=False, multiprocess_mode: Literal['dask', 'serial'] = 'serial') tuple[list[si.BaseSorting], list[si.BaseRecording]][source]#

Sort a recording using MountainSort.

Parameters:
  • recording (si.BaseRecording) – The recording to sort.

  • plot_probe (bool, optional) – Whether to plot the probe. Defaults to False.

  • multiprocess_mode (Literal["dask", "serial"], optional) – Whether to use dask or serial for multiprocessing. Defaults to “serial”.

Returns:

A list of independent sorting analyzers, one for each channel.

Return type:

list[si.SortingAnalyzer]