tedana.workflows.tedana

tedana(data, tes, mixm=None, ctab=None, manacc=None, strict=False, gscontrol=True, kdaw=10.0, rdaw=1.0, conv=2.5e-05, ste=-1, combmode='t2s', dne=False, initcost='tanh', finalcost='tanh', stabilize=False, fout=False, filecsdata=False, label=None, fixed_seed=42, debug=False, quiet=False)[source]

Run the “canonical” TE-Dependent ANAlysis workflow.

Parameters:
  • data (list of str) – Either a single z-concatenated file (single-entry list) or a list of echo-specific files, in ascending order.
  • tes (list) – List of echo times associated with data in milliseconds.
  • mixm (str, optional) – File containing mixing matrix. If not provided, ME-PCA and ME-ICA are done.
  • ctab (str, optional) – File containing component table from which to extract pre-computed classifications.
  • manacc (str, optional) – Comma separated list of manually accepted components in string form. Default is None.
  • strict (bool, optional) – Ignore low-variance ambiguous components. Default is False.
  • gscontrol (bool, optional) – Control global signal using spatial approach. Default is True.
  • kdaw (float, optional) – Dimensionality augmentation weight (Kappa). Default is 10. -1 for low-dimensional ICA.
  • rdaw (float, optional) – Dimensionality augmentation weight (Rho). Default is 1. -1 for low-dimensional ICA.
  • conv (float, optional) – Convergence limit. Default is 2.5e-5.
  • ste (int, optional) – Source TEs for models. 0 for all, -1 for optimal combination. Default is -1.
  • combmode ({'t2s', 'ste'}, optional) – Combination scheme for TEs: ‘t2s’ (Posse 1999, default), ‘ste’ (Poser).
  • dne (bool, optional) – Denoise each TE dataset separately. Default is False.
  • initcost ({'tanh', 'pow3', 'gaus', 'skew'}, optional) – Initial cost function for ICA. Default is ‘tanh’.
  • finalcost ({'tanh', 'pow3', 'gaus', 'skew'}, optional) – Final cost function. Default is ‘tanh’.
  • stabilize (bool, optional) – Stabilize convergence by reducing dimensionality, for low quality data. Default is False.
  • fout (bool, optional) – Save output TE-dependence Kappa/Rho SPMs. Default is False.
  • filecsdata (bool, optional) – Save component selection data to file. Default is False.
  • label (str or None, optional) – Label for output directory. Default is None.
  • fixed_seed (int, optional) – Seeded value for ICA, for reproducibility.