tedana.utils.io.writect¶
-
writect
(comptable, n_vols, fixed_seed, acc, rej, midk, empty, ctname='comp_table.txt', varexpl='-1')[source]¶ Saves component table to disk
Parameters: - comptable ((N x 5) array_like) – Array with columns denoting (1) index of component, (2) Kappa score of component, (3) Rho score of component, (4) variance explained by component, and (5) normalized variance explained by component
- n_vols (
int
) – Number of volumes in original time series - fixed_seed (
int
) – Integer value used in seeding ICA - acc (
list
) – Indices of accepted (BOLD) components in mmix - rej (
list
) – Indices of rejected (non-BOLD) components in mmix - midk (
list
) – Indices of mid-K (questionable) components in mmix - empty (
list
) – Indices of ignored components in mmix - ctname (
str
, optional) – Filename to save comptable to disk. Default ‘comp_table.txt’ - varexpl (
str
) – Variance explained by original data
Notes
This function writes out several files:
Filename Content accepted.txt A comma-separated list of the accepted component indices. rejected.txt A comma-separated list of the rejected component indices. midk_rejected.txt A comma-separated list of middle-kappa components which were ultimately rejected. [ctname] (comp_table.txt) Component table file.