pop_importbids#

pop_importbids(path, *, return_com=False, **kwargs)#

Load one or more EEG files from a BIDS dataset.

EDF and BDF files are read with pop_biosig. TSV sidecars are decoded as UTF-8, then as Latin-1 when the bytes are not UTF-8. JSON sidecars stay UTF-8, and a leading UTF-8 BOM is removed.

Parameters:
Return type:

dict[str, Any] | list[dict[str, Any]] | tuple[dict[str, Any] | list[dict[str, Any]], str]