tedana.io.OutputGenerator.save_file

OutputGenerator.save_file(data, description, **kwargs)[source]

Save data to a filename determined by the file’s description and config info.

Parameters:
  • data (dict or img_like or pandas.DataFrame) – Data to save to file.

  • description (str) – Description of the data, used to determine the appropriate filename from self.config.

Returns:

name (str) – The full file path of the saved file.