Hello AFNI experts,
I would like to use physio_calc.py to prepare a 1D file for use with -ricor_regs
. My understanding of the documentation is that specifying -dset_epi
helps minimize human error by extracting relevant information directly from the fMRI data. However, my physiological measurement files, acquired on a Siemens Terra 7T scanner, contain data from all runs of an entire single acquisition, including respiration (*.resp
), cardiac pulsation (*.puls
), and the trigger log file (*.ext
). I am wondering whether physio_calc.py
can automatically segment the data into individual runs. In other words, giving a list of fMRI runs to -dset_epi
as in afni_proc.py
. If not, do you know of any other tools that can perform this task? I am thinking to generate *_physio.tsv
files for each run following the BIDS convention and then create a shell script to loop through each run, applying physio_calc.py
to the files (*_physio.tsv
and *.nii) in the func folder. Does this approach make sense to you? Thank you very much.