Where are FD values saved in MRIQC output?

Howdy! I’m trying to find where MRIQC saves the max FD value for a given run. I know it’s printed in the plots of the summary/report html file, but sometimes it’s not perfectly visible/I’d like to work with the file that stores this datum. Does anyone know where I can find this?

Hej!
Sometimes when you are lucky you can read it on the BigPlot of the HTML report:

Otherwise, the safest way to get this value is to look into the temporary files (pass the -w option in the MRIQC command:

For example the path would look like that:

SOMEWHERE/mriqc_wf/funcMRIQC/fMRI_HMC/_in_file_..work..PREDYS..sub-21..func..sub-21_task-ArchiLocalizer_run-01_bold.nii.gz/ComputeFD/fd_power_2012.txt

And the content of the file fd_power_2012.txt is like that:

FramewiseDisplacement
6.128062789394613658e-02
1.890036830696375514e-01
1.871972435438752635e-01
7.109911184307750320e-02
5.669793265790642328e-02
4.717807048071267356e-02
3.192782544514272819e-02
7.115107966372542780e-02
1.591209878335978767e-01
1.257094870101356232e-01
2.045235452468313064e-01
2.164973890579995341e-01
1.560984227290463100e-01
1.922283155162825830e-01
2.145955207587972313e-01
2.305242343608625011e-01
2.012291501444380959e-01
2.106089434102287328e-01
1.130845100064749725e-01
6.838180707911725720e-02
6.579606435870419268e-02
2.579896632895324615e-02
6.042934918732943694e-02
5.809183768915973656e-02
5.446720524251465884e-02
8.969045946109735490e-02
...

Perfect! Thanks so much! I remember seeing the filename in a related thread, but couldn’t quite get the right path, so this was very helpful :slight_smile: