Skip to content

Neuralynx DataSegment Times have negative missing data. #1900

Open

Description

@eduardosand

Working with neuralynx data, and have found a few datasets where there is missing data and the segment times don't line up. In the past, I would fill in data using some form of interpolation and on a previous thread polyphasic resampling was proposed and incorporated into Neo.

However, I have now observed multiple datasets where there is a negative amount of missing data.

To explain further, consider this example. The t_stop of the first segment is after the t_start of the second segment. I had set datasets with this phenomena aside, but now I am coming up against these. This has appeared in several datasets, but in the one I am processing now, I am looking at a total of about 1018 samples that are now ambiguous, or about 32 msec of overlap across many segments.

I don't think this will amount to a crazy amount of differences in downstream spike sorting / LFP analysis but I want to have a formal method for dealing with this particular issue. I checked the overlapping data in question and they are different, i.e. not just duplicate samples.

Activity

  1. zm711 commented on Oct 18, 2026

    @zm711
    Contributor

    @h-mayorquin any ideas here? I think you've looked at this the most recently. Or should I ping Peter?

  2. h-mayorquin commented on Oct 20, 2026

    @h-mayorquin
    Contributor

    Sorry, for not seeing this before, we are all very busy, but I would like to work into it if you have some files that you can share?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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