This is a python package for the analysis of MRI QA images.
It currently depends on the auxiliary packages dcmfetch and dcmextras as well as the python DICOM package pydicom. Images are generally obtained (using dcmfetch) via a DICOM connection to a PACS that uses dcm4che3 for the network transport or the DICOM REST API as provided by servers such as Orthanc, but images can also be read directly from local storage using pydicom.
There are currently reports for SNR, image uniformity, geometric distortion and scale, slice profile, mtf, ghosting, single voxel spectroscopy (Siemens only), long term stability (fBIRN), background phase offset in PC flow, and ADC calibration with the NIST diffusion phantom.
The geometric distortion, slice profile and mtf reports are tested primarily with images of the Philips PIQT phantom, but they can also be used with images of the Eurospin TO2/TO4 phantoms and the standard size ACR phantom.
The reports produce matplotlib plots and return pandas dataframes of the results. They are intended to be used from within a Jupyter notebook.