simnibs.read_freesurfer_surface¶
- simnibs.read_freesurfer_surface(fn, apply_transform: bool = False)¶
Function to read FreeSurfer surface files
- Parameters:
fn (str) – File name
apply_transform (bool, optional) – Apply transformation from Vertex RAS to Scanner RAS. This is needed when importing surfaces created by Freesurfer to align Freesurfer surfaces with SimNIBS head models, by default False
- Returns:
msh – Mesh structure
- Return type:
Msh()