Re: [Freesurfer] fscalc size mismatch error

2011-07-11 Thread Corinna Bauer
Would the best solution be to average the frames of the first file or can I specify just one frame? Corinna On Mon, Jul 11, 2011 at 1:17 PM, Corinna Bauer wrote: > Looks like it is because one of the files has multiple frames. > > mri_info first file: > > Volume information for wm.reg.pet.mgz >

Re: [Freesurfer] fscalc size mismatch error

2011-07-11 Thread Corinna Bauer
Looks like it is because one of the files has multiple frames. mri_info first file: Volume information for wm.reg.pet.mgz type: MGH dimensions: 256 x 256 x 256 x 6 voxel sizes: 1., 1., 1. type: FLOAT (3) fov: 256.000 dof: 0 xsta

Re: [Freesurfer] fscalc size mismatch error

2011-07-11 Thread Rudolph Pienaar
(forgot to cc the list)... In general, that error means the number of elements in your first input is not equal to the number of element in your second. Can you run the command and copy-paste the output into an email? Also, run 'mris_calc' with '--verbosity 10'. That will print out additional

Re: [Freesurfer] fscalc size mismatch error

2011-07-11 Thread Bruce Fischl
Hi Corinna, can you run mri_info on the two volumes and see what sizes they are? Bruce On Mon, 11 Jul 2011, Corinna Bauer wrote: When running fscalc, I get the following error on some of my subjects but not all of them, mris_calc:         Sorry, but I seem to have encountered an error.   

[Freesurfer] fscalc size mismatch error

2011-07-11 Thread Corinna Bauer
When running fscalc, I get the following error on some of my subjects but not all of them, mris_calc: Sorry, but I seem to have encountered an error. While checking on input filetype sizes, I found a size mismatch, i.e. len(input1)!=len(input2) Any suggestions? Thanks, Co