Skip to content

Incorrect multi-comparison spike trains #1725

Open
@chimkasinma

Description

@chimkasinma

I am attempting to sort multiple recordings using kilosort2, ironclust, and mountainsort4.
However, the agreement spike train (intersection) has spikes even at times when there is no spike from mountainsort4.

image

code:

sorting_comparison = sc.compare_multiple_sorters(
    sorting_list=[KS2_SORTING, MS4_SORTING, IC_SORTING],
    name_list=['KS2', 'MS4', 'IC'],
    spiketrain_mode='intersection',
    verbose=True
)

MIN_AGREE = 3
agreement_units = sorting_comparison.get_agreement_sorting(minimum_agreement_count=MIN_AGREE)
print('Units in agreement for at least {0} sorters: '.format(MIN_AGREE), agreement_units.get_unit_ids())

Thanks for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    comparisonRelated to comparison module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions