Skip to content
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

wrong TR is shown in commander window during slice timing #763

Closed
yyang1234 opened this issue Oct 24, 2022 · 3 comments
Closed

wrong TR is shown in commander window during slice timing #763

yyang1234 opened this issue Oct 24, 2022 · 3 comments

Comments

@yyang1234
Copy link

Hi, when I run the slicing time during preprocessing, the TR shown in the command window is 3.5s, twice as large as the actual TR (1.75s).
It might because that in line 99 of setBatchSTC.m, nbslice is calculated by finding the unique slice time:
nbSlices = numel(unique(sliceOrder));

My data used multiband,so half of them had the same slice time as the other half. So nbslice only gets half of the actual slice number.

unique is necessary in case of multi echo.

@Remi-Gau
Copy link
Contributor

This should be fixed.

Will close after one final check and adding comments to explain better why some things are done this way.

@Remi-Gau
Copy link
Contributor

@all-contributors please add @yyang1234 for bug, userTesting

@allcontributors
Copy link
Contributor

@Remi-Gau

I've put up a pull request to add @yyang1234! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants