- mne.preprocessing.ieeg.project_sensors_onto_brain(info, trans, subject, subjects_dir=None, picks=None, n_neighbors=10, copy=True, verbose=None)#
Project sensors onto the brain surface.
mne.Infoobject with information about the sensors and methods of measurement.
dict| instance of
If str, the path to the head<->MRI transform
*-trans.fiffile produced during coregistration. Can also be
'fsaverage'to use the built-in fsaverage transformation.
The FreeSurfer subject name.
- subjects_dirpath-like |
The path to the directory containing the FreeSurfer subjects reconstructions. If
None, defaults to the
str| array_like |
Channels to include. Slices and lists of integers will be interpreted as channel indices. In lists, channel type strings (e.g.,
['meg', 'eeg']) will pick channels of those types, channel name strings (e.g.,
['MEG0111', 'MEG2623']will pick the given channels. Can also be the string values “all” to pick all channels, or “data” to pick data channels. None (default) will pick only
The number of neighbors to use to compute the normal vectors for the projection. Must be 2 or greater. More neighbors makes a normal vector with greater averaging which preserves the grid structure. Fewer neighbors has less averaging which better preserves contours in the grid.
True, return a new instance of
infois modified in place.
This is useful in ECoG analysis for compensating for “brain shift” or shrinking of the brain away from the skull due to changes in pressure during the craniotomy.