qa scripts for fMRI data
- creates a summary report of quality for an fMRI dataset
- estimates FD/DVARS (Power et al., 2012)
- performs Greve et al./fBIRN spike detection
Dependencies:
- statsmodels
- numpy
- nibabel
- matplotlib
- scikit-learn
- reportlab
USAGE: fmriqa.py bold_mcf.nii.gz (or any suitably named file)
- this main program takes in a motion-corrected image and performs QA -- report is saved to a subdirectory called QA
- it assumes that the following also exist in the same directory (if infile is called bold_mcf.nii.gz): -- bold_mcf_brain_mask.nii.gz: BET mask -- bold_mcf.par: motion parameters generated by mcflirt