Skip to content

Loading firstlevel zmaps into a dataobj using fmri data #42

@SebastianSpeer

Description

@SebastianSpeer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions