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:
Unable to perform assignment because the left and right sides have a different number of elements.
Error in tapas_physio_filter_respiratory (line 134)
rpulset_padded(1:n_pad) = padding_window(1:n_pad) .* rpulset_padded(1:n_pad);
Error in tapas_physio_main_create_regressors (line 225)
[ons_secs.fr, verbose] = tapas_physio_filter_respiratory( ...
Error in physio_regression_jh (line 96)
physio = tapas_physio_main_create_regressors(physio);
My script and data is attached. Could you please provide some guidance on how to resolve this issue? Thank you!
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