API Documentation#
mne_bids#
MNE software for easily interacting with BIDS compatible datasets.
|
Save raw data to a BIDS-compliant folder structure. |
|
Read BIDS compatible data. |
|
Write the Elekta/Neuromag/MEGIN fine-calibration matrix to disk. |
|
Write the Elekta/Neuromag/MEGIN crosstalk information to disk. |
|
A BIDS path object. |
|
Create a dataset_description.json file for a BIDS dataset. |
|
Create a methods paragraph string from BIDS dataset. |
|
Put anatomical MRI data into a BIDS format. |
|
Update status and description of channels in an existing BIDS dataset. |
|
Get anatomical landmarks in MRI voxel coordinates. |
|
Update the anatomical landmark coordinates of an MRI scan. |
|
Produce transformation matrix from MEG and MRI landmark points. |
|
Convert a montage from scanner RAS (m) to surface RAS (m). |
|
Convert a montage from surface RAS (m) to scanner RAS (m). |
|
Transform a BIDS standard template montage to the head coordinate frame. |
|
Get the group min and max number of daysback necessary for BIDS specs. |
|
Find any particular string entry in the text files of a folder. |
|
Recursively print a directory tree. |
|
Retrieve a BIDSPath object from a filename. |
|
Retrieve a dictionary of BIDS entities from a filename. |
|
Get list of values associated with an entity_key in a BIDS dataset. |
|
Get list of data types ("modalities") present in a BIDS dataset. |
|
Inspect and annotate BIDS raw data. |
|
Update sidecar files using a dictionary or JSON file. |
|
Anonymize a BIDS dataset. |
|
Get list of all matching paths for all matching entity values. |
mne_bids.stats#
Some functions to extract stats from a BIDS dataset.
|
Count events present in dataset. |
mne_bids.copyfiles#
Utility functions to copy raw data files.
When writing BIDS datasets, we often move and/or rename raw data files. several original data formats have properties that restrict such operations. That is, moving/renaming raw data files naively might lead to broken files, for example due to internal pointers that are not being updated.
|
Copy a BrainVision file triplet to a new location and repair links. |
|
Copy an EDF, EDF+, or BDF file to a new location, optionally anonymize. |
|
Copy an EEGLAB file to a new location. |
|
Copy and rename CTF files to a new location. |
|
Copy BTi data. |
|
Copy and rename KIT files to a new location. |