Skip to content

detect_peaks method returns peaks in neighboring channels when set to 'locally_exclusive'  #1929

Open
@lavanv1107

Description

@lavanv1107

I am currently using SpikeInterface's peak detection module to detect peaks from an NWB recording that I have.

detect_peaks(recording, method='locally_exclusive', peak_sign='neg', detect_threshold=6, exclude_sweep_ms=0.1, **job_kwargs )

This returns peaks which occur at the same sample_ind and neighboring channels (353 and 354). Channel 353 (48, 3520) and Channel 354 (0, 3540) are 52 um apart. This is less than 100 um, which is the default exclusion radius specified.

This seems abnormal. Do you know why this might be?

cc @rly

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingsortingcomponentsRelated to sortingcomponents module

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions