neuromaps.images.obj_to_gifti

neuromaps.images.obj_to_gifti(obj, fn=None)[source]

Converts CIVET obj surface file to GIFTI format

Parameters
  • obj (str or os.PathLike) – CIVET file to be converted

  • fn (str or os.PathLike, None) – Output filename. If not supplied uses input obj filename (with appropriate suffix). Default: None

Returns

fn – Path to saved image file

Return type

os.PathLike