Skip to content

read_raw_nirx fails with NIRStar 15.1 data: RuntimeError: MNE does not support this NIRStar version ("15.1") #13312

Open
@allwaysFindFood

Description

@allwaysFindFood

Hello!

When attempting to read NIRx data recorded with ​NIRStar version 15.1, mne.io.read_raw_nirx() raises a runtime error:

RuntimeError: MNE does not support this NIRStar version ("15.1")

After inspection of the source code, the following code appears to be unsupported only for version 15.1

            if hdr["GeneralInfo"]["NIRStar"] not in ['"15.0"', '"15.2"', '"15.3"']:
                raise RuntimeError(
                    "MNE does not support this NIRStar version"
                    f" ({hdr['GeneralInfo']['NIRStar']})"
                )
Image

Want to know why and how to read data saved with ​NIRStar version 15.1

thx

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