tedana.io
.writeresults_echoes¶
-
writeresults_echoes
(catd, mmix, mask, comptable, ref_img, out_dir='.')[source]¶ Saves 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 diskout_dir (
str
, optional) – Output directory.
Notes
This function writes out several files:
Filename
Content
hik_ts_e[echo].nii
High-Kappa timeseries for echo number
echo
. Generated bytedana.utils.io.write_split_ts()
.midk_ts_e[echo].nii
Mid-Kappa timeseries for echo number
echo
. Generated bytedana.utils.io.write_split_ts()
.lowk_ts_e[echo].nii
Low-Kappa timeseries for echo number
echo
. Generated bytedana.utils.io.write_split_ts()
.dn_ts_e[echo].nii
Denoised timeseries for echo number
echo
. Generated bytedana.utils.io.write_split_ts()
.