Skip to content

EventDetection not appropriate for modern probes #555

@bendichter

Description

@bendichter

The EventDetection class in the ecephys module is meant to store the detected unsorted spike times, e.g. threshold crossings of an ElectricalSeries. This type of object is rarely if ever used because users generally prefer to store the raw and/or output of spike sorting, and have little use to store intermediate values in the spike sorting pipeline. Nevertheless, I was attempting to write a section of our ecephys tutorial for the type to increase our neurodata type coverage in the documentation. Upon doing so I realized there were some oddities in this ndtype.

First of all, it requires both the source_idx of the spike in the source ElectricalSeries and the timestamp, which is redundant.

Second, it does not contain information about which electrode(s) detected the spike. This might be acceptable with probes that have a small number of electrodes, such as tetrodes, but for modern probes like Neuropixels that have 100+ channels, I think this is of limited utility without indicating which electrodes are involved in the spike.

I'm not sure how to proceed here. Has anyone seen people actually use this type? Should we fix it or deprecate it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    category: enhancementimprovements of code or code behaviorpriority: mediumnon-critical problem and/or affecting only a small set of NWB users

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions