Open Jhcprep opened 4 months ago
I've just found out that when I remove the path 'spm12\toolbox\PhysIO' before running the MATLAB script, the errors mentioned above would disappear and the regressors could be generated.
Now I would synchronize physiological signals and MR images, generating slice specific regressors, so I tried different values of physio.scan_timing.sqpar.onset_slice
. However, I found that the regressors calculated with onset_slice
selected do not correspond to the actual slice, because the onset slice 1 to 5 would lead to the same regressors (MB factor is 5). For Siemens_Tics data which has scanner timing data, how does the onset slice
timing be calculated? Is the onset_slice
correspond to the chronological order in which slices are actually acquired?
For example, imagine we acquired 15 slices in a volume with a MB factor of 3, and the order is interleaved. In this case, would onset_slice
actually correspond to the number of terms in the following array that we choose as the reference slice?
[(1,6,11), (3,8,13), (5,10,15),(2,7,12),(4,9,14)]
and the slices in ( )
were acquired simultaneously.
Dear Lars,
Thanks a lot for the toolbox! Now I would like to use PhysIO by MATLAB scripts to create physiological regressors with Siemens_Tics data acquired using CMRR multiband sequence. I use the "extractCMRRphysio.m" to get .log files from physiological data saved in DICOM format. The script worked well previously, but when I switched to some new data, an error occurred:
My script and data is attached. Could you please provide some guidance on how to resolve this issue? Thank you!
Best regards, Jinhan
physio_regression_240703.zip