pop_importbids#
- pop_importbids(path, *, return_com=False, gui=False, renderer=None, return_study=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.gui=Trueshows the options dialog frompop_importbids.mlines 104-164.subjects=[1, 2]selects 1-based rows ofparticipants.tsv(or sortedsub-*folders when that file is missing), the same indices the dialog records.return_study=Truereturns an in-memory STUDY. EEGLAB also copies every dataset intoderivatives/eeglab(pop_importbids.mlines 839 and 892). This function does not write that copy. A folder import opened from the dialog records[STUDY, ALLEEG] = pop_importbids(...)withreturn_studyon, matching that return.