Skip to content

Using SPM 12 input #16

@hldot

Description

@hldot

Hi,

I'm attempting to run AROMA on resting state data that was preprocessed in SPM 12 (slice time corrected, functional data realigned to the mean volume, coregistered to structural, within normalize affine regularisation to ICBM space template for European brains with voxel size 2x2x2, then smoothed with 6.0 kernel). I then converted all of my volumes into a 4D nifti using SPM.

As suggested in the manual, for the mask option, I created a mask with BET based off of the 4D nii. MELODIC runs, but I get the following error:

Step 2) Automatic classification of the components

  • registering the spatial maps to MNI
  • extracting the CSF & Edge fraction features
    Traceback (most recent call last):
    File "##/ICA-AROMA-master/ICA_AROMA.py", line 200, in
    edgeFract, csfFract = aromafunc.feature_spatial(fslDir, outDir, scriptDir, melIC_MNI)
    File "##/ICA-AROMA-master/ICA_AROMA_functions.py", line 389, in feature_spatial
    '-V | awk '{print $1}''])))
    ValueError: invalid literal for int() with base 10: 'Mask and image must be the same size'.

Do I need to alter the resting nii in some way to match the dimensions of the classification masks?

Thank you in advance,
Hailey

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions