Hello,
Can you check that your mask only contains the values 0 and 1 and no other ( e.g. fractional ) values?
Kind regards
Matthew
--------------------------------
Dr Matthew Webster
FMRIB Centre
John Radcliffe Hospital
University of Oxford
> On 26 Jan 2018, at 16:58, Mark Wagshul <[log in to unmask]> wrote:
>
> Hi. I am running randomise with a very similar configuration to what I have used successfully dozens of times before and running into an error. It is a group analysis of DTI data, 146 subjects, with 6 covariates. Here are the contrast files, and the top of the design matrix file (not printing it all to save space):
>
> CONTRAST
> /ContrastName1 group mean
> /NumWaves 7
> /NumContrasts 2
> /PPheights 0.5
> /RequiredEffect 1.0
>
> /Matrix
> 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 -1.000000e+00
> 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 1.000000e+00
>
> DESIGN MATRIX:
> /NumWaves 7
> /NumPoints 146
> /PPheights 27.3904 0.684932 9.34932 0.181063 3.37671 32.8493 0.5
>
> /Matrix
> 19.3904 0.6849 3.3493 0.1811 -0.6233 32.8493 -0.5000
> 17.3904 -0.3151 1.3493 0.0811 -0.6233 24.8493 -0.5000
> 0.3904 -0.3151 1.3493 0.1811 -0.6233 20.8493 -0.5000
> 0.3904 0.6849 0.3493 0.1811 1.3767 20.8493 -0.5000
> 1.3904 -0.3151 2.3493 -0.0295 0.3767 20.8493 -0.5000
> -0.6096 -0.3151 1.3493 -0.0189 -0.6233 5.8493 -0.5000
>
> I've checked the input file, and it is indeed 146 volumes.
>
> Here is the error I'm getting:
> Loading Data: ERROR: Program failed
>
> An exception has been thrown
> Logic error:- detected by Newmat: index error: requested indices = 1, 355544
>
> MatrixType = Rect # Rows = 146; # Cols = 355543
>
> Exiting.
>
> Any thoughts about what might be going wrong here. The only thing I can think of is something with the mask file, it is a bit odd because it's volume is 370422, which is a bit off from the column size reported here.
>
> Thanks.
>
> Mark Wagshul
|