API Documentation

MNE BIDS (mne_bids.mne_bids):

write_raw_bids(raw, bids_basename, output_path)

Walk over a folder of files and create BIDS compatible folder.

make_bids_basename([subject, session, task, …])

Create a partial/full BIDS filename from its component parts.

make_bids_folders(subject[, session, kind, …])

Create a BIDS folder hierarchy.

Utils (mne_bids.utils):

print_dir_tree(folder)

Recursively print a directory tree starting from folder.

make_dataset_description(path[, name, …])

Create json for a dataset description.

copyfile_brainvision(vhdr_src, vhdr_dest)

Copy a BrainVision file triplet to a new location and repair links.

copyfile_eeglab(src, dest)

Copy a EEGLAB files to a new location and adjust pointer to ‘.fdt’ file.

Datasets (mne_bids.datasets):

fetch_faces_data([data_path, repo, subject_ids])

Dataset fetcher for OpenfMRI dataset ds000117.

fetch_brainvision_testing_data([data_path])

Download the MNE-Python testing data for the BrainVision format.