mne.transform_surface_to

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

Transform surface to the desired coordinate system.

Parameters:

surf : dict

Surface.

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

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

trans : dict

Transformation.

copy : bool

If False (default), operate in-place.

Returns:

res : dict

Transformed source space.