tedana.metrics.dependence.calculate_f_maps
- calculate_f_maps(data_cat, z_maps, mixing, adaptive_mask, tes, f_max=500)[source]
Calculate pseudo-F-statistic maps for TE-dependence and -independence models.
- Parameters:
data_cat ((M x E x T) array_like) – Multi-echo data, already masked.
z_maps ((M x C) array_like) – Z-statistic maps for components, reflecting voxel-wise component loadings.
mixing ((T x C) array_like) – Mixing matrix
adaptive_mask ((M) array_like) – Adaptive mask, where each voxel’s value is the number of echoes with “good signal”. Limited to masked voxels.
tes ((E) array_like) – Echo times in milliseconds, in the same order as the echoes in data_cat.
f_max (float, optional) – Maximum F-statistic, used to crop extreme values. Values in the F-statistic maps greater than this value are set to it.
- Returns:
f_t2_maps, f_s0_maps, pred_t2_maps, pred_s0_maps ((M x C) array_like) – Pseudo-F-statistic maps for TE-dependence and -independence models, respectively.