edfio.read_bdf#

edfio.read_bdf(bdf_file, *, header_encoding='ascii')[source]#

Read a BDF file into a Bdf object.

If a file-like object is passed, its stream position is moved to EOF.

Parameters:
bdf_filePath | str | io.BufferedReader | io.BytesIO

The file location (path object or string) or file-like object to read from.

header_encodingstr, default: “ascii”

The character encoding to use when reading header fields.

Returns:
Bdf

The resulting Bdf object.