Skip to content

Maint: Offload GDF reading duties to biosig? #13419

@scott-huberty

Description

@scott-huberty

The biosig-tools development team maintains a Python wrapper to their C++ library libbiosig, which can be used to read GDF files into Python as Numpy arrays (PyPI link).

Currently it requires the user to pre-install the libbiosig, which is not ideal. But if they ever get around to shipping libbiosig in platform-specific wheels, Then it might be worthwhile for MNE-Python to rely on this package for reading GDF files. The benefit would be that we offload GDF reading duties to the file-format experts, reduce our maintenance burden and (hopefully) cut down the LOC in MNE. The downside is that this new reader is not pure Python.

This would follow the approach we have taken with AntIO and EDFIO. I also think that MATLAB already relies on the libbiosig package for reading/writing GDF files.

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