help > error moving contrast
Showing 1-4 of 4 posts
Display:
Results per page:
Mar 22, 2018  02:03 PM | Konstantinos Bromis
error moving contrast
Hi,

I run gppi analysis at the first level, everything looks good except from an error regarding moving contrast.

spmpath =

'/home/konstantinos/spm12'
ContrastName1 =
'HCvsLC'
ContrastName2 =
'HC'
ContrastName3 =
'LC'
ContrastName4 =
'LCvsHC'
P =
struct with fields:
subject: '/home/konstantinos/Desktop/task_fMRI_data/S01'
directory: '/home/konstantinos/Desktop/task_fMRI_data/S01/stats'
VOI: '/home/konstantinos/Desktop/task_fMRI_data/S01/stats/VOI_hippo_21_-38_3_r6_mask.nii'
Region: 'hippo'
analysis: 'psy'
method: 'cond'
Estimate: 1
contrast: 1
extract: 'eig'
Tasks: {'1' 'Rotated Speech' 'Normal Speech' 'Low Context' 'High Context' 'QuestionDuration'}
Weights: 0
equalroi: 0
FLmask: 1
CompContrasts: 1
outdir: '/home/konstantinos/Desktop/task_fMRI_data/S01/stats/PPI'
ConcatR: 1
Contrasts: [1×1 struct]
SPM =
struct with fields:
swd: '/home/konstantinos/Desktop/task_fMRI_data/S01/stats/PPI_hippo'
xBF: [1×1 struct]
xY: [1×1 struct]
nscan: [202 205 202 202]
SPMid: 'SPM12: spm_spm (v7120)'
xVi: [1×1 struct]
xGX: [1×1 struct]
xX: [1×1 struct]
Sess: [1×4 struct]
xsDes: [1×1 struct]
xM: [1×1 struct]
xVol: [1×1 struct]
Vbeta: [1×72 struct]
VResMS: [1×1 struct]
VM: [1×1 struct]
xCon: [1×11 struct]
P =
struct with fields:
subject: '/home/konstantinos/Desktop/task_fMRI_data/S01'
directory: '/home/konstantinos/Desktop/task_fMRI_data/S01/stats'
VOI: '/home/konstantinos/Desktop/task_fMRI_data/S01/stats/VOI_hippo_21_-38_3_r6_mask.nii'
Region: 'hippo'
analysis: 'psy'
method: 'cond'
Estimate: 1
contrast: 1
extract: 'eig'
Tasks: {'1' 'Rotated Speech' 'Normal Speech' 'Low Context' 'High Context' 'QuestionDuration'}
Weights: 0
equalroi: 0
FLmask: 1
CompContrasts: 1
outdir: '/home/konstantinos/Desktop/task_fMRI_data/S01/stats/PPI'
ConcatR: 1
Contrasts: [1×1 struct]
Log File: /home/konstantinos/Desktop/task_fMRI_data/S01_PPPI_3_22_2018_10.log
PPPI Version: 13.1.4-17-2014
Parameters used:
Processing subject: /home/konstantinos/Desktop/task_fMRI_data/S01
VOI file : /home/konstantinos/Desktop/task_fMRI_data/S01/stats/VOI_hippo_21_-38_3_r6_mask.nii
Output file will be: /home/konstantinos/Desktop/task_fMRI_data/S01_hippo_session#_cond_PPI_regressors.txt
Contrast : SpR
Analysis : Psychophysiological Interactions
Extraction : eigenvariate
Tasks : _1_Rotated Speech_Normal Speech_Low Context_High Context_QuestionDuration
Method : Condition Specific
VOI has 32 voxels in 3x3x3 space
VOI has 32 voxels in 3x3x3 space. This is in the the same space as the input data and functional mask.
VOI has 32 voxels in 3x3x3 space
VOI has 32 voxels in 3x3x3 space. This is in the the same space as the input data and functional mask.
VOI has 32 voxels in 3x3x3 space
VOI has 32 voxels in 3x3x3 space. This is in the the same space as the input data and functional mask.
VOI has 32 voxels in 3x3x3 space
VOI has 32 voxels in 3x3x3 space. This is in the the same space as the input data and functional mask.
Generate Contrast Vectors
Valid Contrast
Generate xCon
Generate Contrasts
contrast image 12 : ...written con_0012.nii
spm{T} image 12 : ...written spmT_0012.nii
Saving SPM.mat : ...SPM.mat saved
Moving Contrast Images
error moving contrast PPI_HCvsLC
error moving contrast PPI_HCvsLC
ans =
struct with fields:
swd: '/home/konstantinos/Desktop/task_fMRI_data/S01/stats/PPI_hippo'
xBF: [1×1 struct]
xY: [1×1 struct]
nscan: [202 205 202 202]
SPMid: 'SPM12: spm_spm (v7120)'
xVi: [1×1 struct]
xGX: [1×1 struct]
xX: [1×1 struct]
Sess: [1×4 struct]
xsDes: [1×1 struct]
xM: [1×1 struct]
xVol: [1×1 struct]
Vbeta: [1×72 struct]
VResMS: [1×1 struct]
VM: [1×1 struct]
xCon: [1×12 struct]


Thank you in advance.

Best,

Konstantinos
Mar 22, 2018  03:03 PM | Konstantinos Bromis
RE: error moving contrast
I just fixed it.

Thank you!

Best,

Konstantinos
Mar 22, 2018  04:03 PM | Donald McLaren
RE: error moving contrast
What was the error and how did you resolve it?
Mar 26, 2018  09:03 AM | Konstantinos Bromis
RE: error moving contrast
Hi,

I think that I used an updated version of the spm_contrasts_PPI.m that you proposed in a recent chat in the forum.

Best wishes,

Konstantinos