Skip to content

adaptive mask uses different thresholds in t2smap.py and tedana.py, which causes an inconsistency problem in the OFC areas #680

Closed
@zswang-brainimaging

Description

@zswang-brainimaging

Summary

In the older version of t2samp, "mask, masksum = utils.make_adaptive_mask(catd, mask=mask, getsum=True, threshold=3)" causes signal loss problem in the prefrontal areas, especially in the OFC, which is very obvious and problematic. In the latest version of t2smap.py, "mask, masksum = utils.make_adaptive_mask(catd, mask=mask, getsum=True, threshold=3)" has been changed to "mask, masksum = utils.make_adaptive_mask(catd, mask=mask, getsum=True, threshold=1)", meaning that 3 good echo data are no longer required. Yes, using threshold =1, the issue of signal loss in the prefrontal areas are resolved, where optimally combined image desc-optcom_bold.nii looks much better now. But in the latest version of tedana.py, "mask, masksum = utils.make_adaptive_mask(catd, mask=mask, getsum=True, threshold=3)" still uses threshold =3 (3 good echo data are required), which causes the same signal loss problem in the prefrontal areas, especially in the OFC. Try to modify threshold =1, but running tedana.py failed, with some errors, one of which is: "IndexError: index 0 is out of bounds for axis 1 with size 0".

Additional Detail

if modifying " mask, masksum = utils.make_adaptive_mask(catd, mask=mask, getsum=True, threshold=3)" in tedana.py into
" mask, masksum = utils.make_adaptive_mask(catd, mask=mask, getsum=True, threshold=1)", the running procedure will fail, but if modifying " mask, masksum = utils.make_adaptive_mask(catd, mask=mask, getsum=True, threshold=3)" to " mask, masksum = utils.make_adaptive_mask(catd, mask=mask, getsum=True, threshold=2)" , the running procedure can be completed. The result image dn_ts_OC or ts_OC looks better than ones generated when using threshold =3, but still not as good as the image "desc-optcom_bold.nii.gz" generated using t2smap.py when settting threshold=1 in the adaptive mask.

Next Steps

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionissues detailing questions about the project or its direction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions