Skip to content

kilosort import with few cells #156

@agbondy

Description

@agbondy

We are tracking yields over time in chronic recordings, and this means we intentionally record some sessions when they are very few cells. Kilosort import only imports the "good" channels which in these cases can be very few, even less than 10 channels. This makes a mess of the kilosort import which expects there to be at least nSitesDir.*2 + 1 channels (this is typically 14 in our case). The crash happens at the line shown in the picture below. In words, the crash is happening because the ap_raw.jrc file only has three channels but the detection algorithm is trying to load nSites.*2 + 1 of them. Obviously this is a very nontypical case, but it would be good to have sensible behavior here, nonetheless -- at the very least a human-readable error.

Image from iOS

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