Skip to content

feature request: to_pynapple_tsgroup export Sorting properties (like SortingAnalyzer metadata) #4346

@pas-calc

Description

@pas-calc

The function to_pynapple_tsgroup (from spikeinterface.exporters) can export a BaseSorting or SortingAnalyzer to pynapple time series group (spike trains).

It is nice that it can also export metadata from SortingAnalyzer. However it currently does not support exporting properties from Sorting. For example when we read a sorting from Kilosort, the properites are automatically filled from the csv/tsv files.

For instance sorting.get_property("ch") will be the channel on which the neuron showed largest waveform.

For a sortinganalyzer run on that sorting+recording, we can get quality metrics. They will be similar to those precomputed by a sorter (like refractory period contamination, firing rate, ... )

For a sorting object, we could get_property_keys and then add the properties to the pynapple TsGroup metadata

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions