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

Run the algorithm when the slice order is unknown #1

Closed
daviddmc opened this issue Jan 4, 2023 · 2 comments
Closed

Run the algorithm when the slice order is unknown #1

daviddmc opened this issue Jan 4, 2023 · 2 comments

Comments

@daviddmc
Copy link

daviddmc commented Jan 4, 2023

Hi, thanks for sharing the code. I wonder if it is possible to use the algorithm when the slice order is unknown, i.e., svr.ParZ.SlOr is unknown. I tried to set svr.ParZ.SlOr to an empty array, but got the following error: Inappropriate slice order identified, SKIPPING. Is there a solution to this problem?

@lcorgra
Copy link
Owner

lcorgra commented Jan 12, 2023

Hi Junshen, that's a good point. Would recommend setting

for v=1:NV
svr.slOrd{v}=([1:4:NY(v,3) 3:4:NY(v,3) 2:4:NY(v,3) 4:4:NY(v,3)])';
end

with NV the number of stacks and NY(v,3) the number of slices of stack v. This is 2x temporal subdivision of stack acquisition with 2 levels, so kind of natural choice for distributed coverage of slice axis in the absence of other information. Have checked that it is suboptimal when compared to real order of slices, but for certain orderings may provide acceptable results.

Hope it helps, any other question, don't hesitate to raise.

@daviddmc
Copy link
Author

Thanks for answering. Will try this setting.

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