tedana.workflows
.t2smap_workflow¶
-
t2smap_workflow
(data, tes, mask=None, fitmode='all', combmode='t2s', label=None)[source]¶ Estimate T2 and S0, and optimally combine data across TEs.
Parameters: - data (
str
orlist
ofstr
) – Either a single z-concatenated file (single-entry list or str) or a list of echo-specific files, in ascending order. - tes (
list
) – List of echo times associated with data in milliseconds. - mask (
str
, optional) – Binary mask of voxels to include in TE Dependent ANAlysis. Must be spatially aligned with data. - fitmode ({'all', 'ts'}, optional) – Monoexponential model fitting scheme. ‘all’ means that the model is fit, per voxel, across all timepoints. ‘ts’ means that the model is fit, per voxel and per timepoint. Default is ‘all’.
- combmode ({'t2s', 'ste'}, optional) – Combination scheme for TEs: ‘t2s’ (Posse 1999, default), ‘ste’ (Poser).
- label (
str
orNone
, optional) – Label for output directory. Default is None.
Notes
This workflow writes out several files, which are written out to a folder named TED.[ref_label].[label] if
label
is provided and TED.[ref_label] if not.ref_label
is determined based on the name of the firstdata
file.Files are listed below:
Filename Content t2sv.nii Limited estimated T2* 3D map or 4D timeseries. Will be a 3D map if fitmode
is ‘all’ and a 4D timeseries if it is ‘ts’.s0v.nii Limited S0 3D map or 4D timeseries. t2svG.nii Full T2* map/timeseries. The difference between the limited and full maps is that, for voxels affected by dropout where only one echo contains good data, the full map uses the single echo’s value while the limited map has a NaN. s0vG.nii Full S0 map/timeseries. ts_OC.nii Optimally combined timeseries. - data (