This shows you the differences between two versions of the page.
biac:analysis:physiological [2011/10/25 19:08] petty created |
biac:analysis:physiological [2023/02/23 18:43] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Physiological Correction Methods ====== | ||
- | |||
- | Currently this assumes that you have recorded your physiological responses through Cigal. | ||
- | |||
- | There' | ||
- | |||
- | This tools uses various fields from the bxh and pdigm file to output " | ||
- | |||
- | The python tool will call cigal functions directly, then output new text data in the format requested. | ||
- | |||
- | < | ||
- | physio_create.py --help | ||
- | </ | ||
- | |||
- | < | ||
- | physio_create.py --bxh / | ||
- | |||
- | Program to produce formatted physiological data: | ||
- | Data will be corrected and recreated from the pdigm file based on information from run data | ||
- | BXH and PDIGM required | ||
- | OUTPATH defaults to PWD | ||
- | FORMAT: defaults to fsl | ||
- | - fsl = cardio, | ||
- | - npm = time, | ||
- | - afni = cardiac.txt, | ||
- | |||
- | |||
- | Options: | ||
- | -h, --help | ||
- | -b FILE, --bxh=FILE | ||
- | -p FILE, --pdigm=FILE | ||
- | pdigm file for run | ||
- | -f string, --format=string | ||
- | output format ( fsl, | ||
- | -o PATH, --outpath=PATH | ||
- | location to store output files | ||
- | |||
- | </ | ||
- | |||
- | ===== AFNI ===== | ||
- | |||
- | Create the AFNI formated physiological text data. | ||
- | <code bash> | ||
- | |||
- | This would create my " | ||
- | |||
- | Now set-up build the regressors that will be used in afni with their matlab tool. | ||
- | |||
- | <code matlab> | ||
- | addpath / | ||
- | Opt.Respfile = '/ | ||
- | Opt.Cardfile = '/ | ||
- | Opt.VolTR = 1.5 | ||
- | Opt.Nslices = 34 | ||
- | Opt.PhysFS = 100 | ||
- | |||
- | RetroTS(Opt) | ||
- | </ | ||
- | |||
- | |||
- | |||
- | |||