tedana.io.writeresults_echoes

writeresults_echoes(catd, mmix, mask, comptable, io_generator)[source]

Save individually denoised echos to disk.

Parameters:
  • catd ((S x E x T) array_like) – Input data time series

  • mmix ((C x T) array_like) – Mixing matrix for converting input data to component space, where C is components and T is the same as in data

  • mask ((S,) array_like) – Boolean mask array

  • comptable ((C x X) pandas.DataFrame) – Component metric table. One row for each component, with a column for each metric. The index should be the component number.

  • ref_img (str or img_like) – Reference image to dictate how outputs are saved to disk

See also

tedana.io.write_split_ts

Writes out the files.

Generated Files

Filename

Content

echo-[echo]_desc-Accepted_bold.nii.gz

High-Kappa timeseries for echo number echo.

echo-[echo]_desc-Rejected_bold.nii.gz

Low-Kappa timeseries for echo number echo.

echo-[echo]_desc-Denoised_bold.nii.gz

Denoised timeseries for echo number echo.