tedana.io.OutputGenerator.add_df_to_file
- OutputGenerator.add_df_to_file(data, description, **kwargs)[source]
Add a DataFrame to a tsv file, which may or may not exist.
- 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.