mne.transform_surface_to

mne.transform_surface_to(surf, dest, trans, copy=False)[source]

Transform surface to the desired coordinate system.

Parameters
surfdict

Surface.

dest‘meg’ | ‘mri’ | ‘head’ | int

Destination coordinate system. Can be an integer for using FIFF types.

transdict | list of dict

Transformation to use (or a list of possible transformations to check).

copybool

If False (default), operate in-place.

Returns
resdict

Transformed source space.