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

Loading firstlevel zmaps into a dataobj using fmri data #42

Open
SebastianSpeer opened this issue Oct 11, 2021 · 1 comment
Open

Loading firstlevel zmaps into a dataobj using fmri data #42

SebastianSpeer opened this issue Oct 11, 2021 · 1 comment

Comments

@SebastianSpeer
Copy link

Dear Canlab,

I'm trying to load firstlevel zmaps into a canlab dataobj to use the multivariate prediction tools.

When using:

maps = dir('/data04/Sebastian/RewardSignature/analysis/Results/Univariate/Firstlevel/HR-won/concat/*res*.gz') data_obj = fmri_data(maps);

I'm getting the following error:

Reference to non-existent field 'volInfo'.

Error in fmri_data (line 442)
obj.mask.volInfo = obj2.volInfo;

when checking the header of my zmaps there is information on the pixel dimensions as well as the dimensions of the data.

the fmri_data() call works fine when running on prerocessed data. So the issue seems to be specific to loading statistical maps.

Is it possible at all to load these maps into a dataobj?

Thanks for your help,

Sebastian

@torwager
Copy link
Contributor

torwager commented Oct 11, 2021 via email

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