openbdf#
- openbdf(filename, *, return_header=False)#
Read a BDF header and prepare an EEGLAB-compatible record dataset.
Unlike the historical MATLAB helper, this function does not leave an open file descriptor in the returned structure.
readbdfreopens the stored path for each read, so the result is safe to keep and serialize.- Parameters:
- Returns:
A dictionary containing
HeadandMX. Ifreturn_headeris true, returns(dataset, raw_header).- Return type: