Skip to content

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

@adam2392

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.

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