Skip to content

Add support for file-like objects to mne.io.read_raw_edf() #8976

@CJ-Wave

Description

@CJ-Wave

Describe the new feature or enhancement

I would like to have support for file-like objects for the mne.io.read_raw_edf() function (specifically a bytesIO object)

Describe your proposed implementation

new capability to an existing method

Describe possible alternatives

Possible alternative is allowing for a kwarg to detect if it's a file-like object as opposed to a filepath, but shouldn't be necessary

Additional comments

It looks like fiff files have that functionality in mne.io.read_raw(), it would be fantastic if edf had that functionality as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions