tedana.io.OutputGenerator.save_img

OutputGenerator.save_img(data, name)[source]

Save image data to a nifti file.

Parameters:
  • data (img_like) – Data to save to a file.

  • name (str) – Full file path for output file.

Notes

Will coerce 64-bit float and int arrays into 32-bit arrays.