recon_surf.rewrite_mc_surface¶
- recon_surf.rewrite_mc_surface.options_parse()[source]¶
Create a command line interface and return command line options.
- Returns:
options
Namespace object holding options.
- recon_surf.rewrite_mc_surface.resafe_surface(insurf, outsurf, pretess)[source]¶
Take path to insurf and rewrite it to outsurf thereby fixing vertex locs flag error.
This function fixes header information not properly saved in marching cubes. It makes sure the file header correctly references the scannerRAS instead of the surfaceRAS, i.e. filename and volume is set to the correct data in the header.