Skip to content

Do not import first BrainVision datetime marker #13095

@cbrnr

Description

@cbrnr

Currently, exporting to BrainVision creates an extra marker containing the meas_date. Usually, this datetime is stored as the first marker, which looks like this:

Mk1=New Segment,,1,1,0,20231207111507000000

Importing that file into MNE again therefore implies that there is an additional marker that was not present before. In addition, I think the reader parses the measurement date so that this marker is not necessary at all.

I'm not quite sure how to handle this situation, so I'd appreciate your input @sappelhoff @larsoner @drammock. I came up with the following options:

  1. Always ignore the first marker (if it is a New Segment).
  2. Always ignore all markers of type New Segment.
  3. Provide an option to ignore all New Segment markers.

I think a transparent solution without an additional parameter would be nice, WDYT?

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