Skip to content

Reading in Persyst (.lay/.dat) files into Raw #8173

Closed

Description

@adam2392

Describe the problem

I have some files that were output from the Persyst system, which are text-readable .lay/.dat file combination. I would like to read them into MNE Python Raw.

This would be useful since I think it's a major "EEG" software processing system, which many clinical centers have. In addition, it is text-readable, so nothing hard about it.

Describe your solution

A read_raw_persyst function that takes in a lay_fname and reads in data into a Raw object. The .dat filename is usually encoded in the lay_fname.

The first solution won't be "perfect", but some more iterations from Persyst users might be warranted.

Describe possible alternatives

There is an initial start I found on Github: https://github.com/epiSurg/python-layread/blob/master/layread.py

but they do not read it into a Raw object, which I think would be more desirable for robust data flow.

Additional context

I have some example files added here.
Archive.zip

I can help implement it if perhaps @agramfort or @larsoner can point me in the right direction? I'm assuming it's just that one function read_raw_persyst.

Activity

  1. agramfort commented on Aug 30, 2020

    @agramfort
    SponsorMember
  2. larsoner commented on Aug 31, 2020

    @larsoner
    Member

    I would look at #6674 to see the list of files you might need to change. If there are no new channel types, you probably only need to change half as many (or even fewer).

  3. changed the title [-]Reading in Peryst (.lay/.dat) files into Raw[/-] [+]Reading in Persyst (.lay/.dat) files into Raw[/+] on Sep 3, 2020
  4. added this to the 0.21 milestone on Sep 6, 2020
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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions