-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PhysIO with multiband and multiecho fMRI #258
Comments
Dear Liz, Thank you for trying out PhysIO. Could you try to see what happens if you set the number of slices back to 84 (i.e., disregard the MB factor)? This might be a bug that we recently discovered internally. All the best, |
Hi Lars, Thanks for your quick response! When I set the slices to 84, the code works and I get the following: Even though it works, I'm not sure if the outputted regressors are correct due to the multiband acquisition. Two more questions:
Thanks again for your help! |
Dear Liz, My apologies for the delayed reply, please see my thoughts inline below:
I hope this helps! All the best, |
Hi Tapas Team,
I am using PhysIO (Tapas version 6.0.1) to get respiration and pulse regressors for 7T multiecho MRI data. The acquisiton has 84 slices, TR=2.1, 300 volumes, and a multiband factor of 4, so I have been attempting to implement the proposed MB workaround by setting nSlices = 84/4 = 21. The log files are Siemens VD. However, when I do this, I get the following error:
09-Feb-2024 17:06:50 - Failed 'TAPAS PhysIO Toolbox'
Error using tapas_physio_log
Number of slice event bundles does not match Nscans. Check parameters sqpar.Nscans, Ndummies and Nprep.
(Matlab error: Array indices must be positive integers or logical values.)
In file "/Volumes/GoogleDrive/My Drive/MATLAB/spm12/toolbox/PhysIO/code/utils/tapas_physio_log.m" (???), function "tapas_physio_log" at line 56.
In file "/Volumes/GoogleDrive/My Drive/MATLAB/spm12/toolbox/PhysIO/code/sync/tapas_physio_get_onsets_from_locs.m" (???), function "tapas_physio_get_onsets_from_locs" at line 113.
In file "/Volumes/GoogleDrive/My Drive/MATLAB/spm12/toolbox/PhysIO/code/sync/tapas_physio_create_scan_timing.m" (???), function "tapas_physio_create_scan_timing" at line 122.
In file "/Volumes/GoogleDrive/My Drive/MATLAB/spm12/toolbox/PhysIO/tapas_physio_main_create_regressors.m" (???), function "tapas_physio_main_create_regressors" at line 165.
In file "/Volumes/GoogleDrive/My Drive/MATLAB/spm12/toolbox/PhysIO/tapas_physio_cfg_matlabbatch.m" (???), function "run_physio" at line 1661.
I've tried different inputs for onset_slice that I've seen in other issue posts, such as [0:20], [1:21], or 10 (the "middle" slice). No matter what I input for this, I still get this error.
I also wanted to check that Tapas is compatible with multiecho data. It looks like tapas_physio_create_scan_timing_from_tics_siemens.m only includes the data from the first echo (ECHO = 0), but I wanted to confirm this.
Here is my batch file and an example subject of log files:
batch_example.txt
subject_Info.log
subject_PULS.log
subject_RESP.log
Thanks for any help you can provide!
The text was updated successfully, but these errors were encountered: