You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Sebastian,
This should indeed be possible and straightforward. Your “maps” variable should contain a string matrix or cell array of strings with valid file names to 3-D or 4-D images (.gz should be OK). The problem may be in the list of input file names.
Best,
Tor
On Oct 11, 2021, at 12:00 PM, SebastianSpeer ***@***.***> wrote:
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
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#42>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABPY7LDKQXL7OV7I66SJHW3UGMCZ3ANCNFSM5FYSA56Q>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
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
The text was updated successfully, but these errors were encountered: