fastMRI

Acquisition sequence type used for brain dataset

Hi, there are different contrasts in the brain dataset, labeled as AXT1, AXT1PRE, AXT1POST, AXFLAIR, I want to know what the clinical sequence used for these data, such as AXT1 is acquired by spin-echo (SE/FSE/SPACE) or gradient echo or both? what about other contrasts?

Hello @Linfang_Xiao, I think you can read this from the header. Something like

import h5py
import xml.etree.ElementTree as etree
from fastmri.data.mri_data import et_query

with h5py.File(fname, "r") as hf:
    et_root = etree.fromstring(hf["ismrmrd_header"][()])
    print(et_query(et_root, ["sequenceParameters", "sequence_type"]))