tedana.utils.io.writect

writect(comptable, n_vols, 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
  • 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