mne.datasets.fetch_phantom

mne.datasets.fetch_phantom(kind, subjects_dir=None, *, verbose=None)[source]

Fetch and update a phantom subject.

Parameters
kindstr

The kind of phantom to fetch. Can only be 'otaniemi' (default).

subjects_dirpath-like | None

The path to the directory containing the FreeSurfer subjects reconstructions. If None, defaults to the SUBJECTS_DIR environment variable.

verbosebool | str | int | None

Control verbosity of the logging output. If None, use the default verbosity level. See the logging documentation and mne.verbose() for details. Should only be passed as a keyword argument.

Returns
subject_dirstr

The resulting phantom subject directory.

Notes

This function is designed to provide a head surface and T1.mgz for the 32-dipole Otaniemi phantom. The VectorView/TRIUX phantom has the same basic outside geometry, but different internal dipole positions.

Unlike most FreeSurfer subjects, the Otaniemi phantom scan was aligned to the “head” coordinate frame, so an identity head<->MRI trans is appropriate.

New in version 0.24.

Examples using mne.datasets.fetch_phantom