Dear Douglas,
The file is created on a mac using the open -e command. I’ve tried running your command:
cat whiplash.fsgd | sed 's/\r/\n/g' > new.whiplash.fsgd
However, this makes the file unreadable for FreeSurfer. Any ideas?
Thank you in advance,
Robby
Date: Thu, 21 Aug 2014 13:30:19 -0400 From: Douglas N Greve greve@nmr.mgh.harvard.edu Subject: Re: [Freesurfer] GLM: Error Matric-Scale To: freesurfer@nmr.mgh.harvard.edu Message-ID: 53F62CAB.1060307@nmr.mgh.harvard.edu Content-Type: text/plain; charset=ISO-8859-1; format=flowed
It looks like your fsgd file may have been created on a windows computer. Is that possible? Try reformatting it in linux or mac.
doug
On 08/20/2014 12:58 PM, Robby De Pauw wrote:
Hi there FreeSurfer
When trying the GLM-analysis I keep getting the following error. Could you help me with fixing it?
ERROR: matrix is ill-conditioned or badly scaled, condno = 1e+08
Possible problem with experimental design: Check for duplicate entries and/or lack of range of continuous variables within a class. If you seek help with this problem, make sure to send:
- Your command line:
mri_glmfit --y lh.whiplash.thickness.10B.mgh --fsgd whiplash.fsgd dods --C group_diff.mtx --surf fsaverage lh --cortex --glmdir lh.whiplash.glmdir 2. The FSGD file (if using one) 3. And the design matrix above
Thank you in advance,
Robby
Robby De Pauw, dra. *Ghent University* Department of Physiotherapy and Rehabilitation Sciences 3B3 De Pintelaan 185 B-9000 Ghent
Robby.DePauw@Ugent.be mailto:Robby.DePauw@Ugent.be
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Robby De Pauw, dra. Ghent University Department of Physiotherapy and Rehabilitation Sciences 3B3 De Pintelaan 185 B-9000 Ghent
Robby.DePauw@Ugent.be
On 22 Aug 2014, at 18:00, freesurfer-request@nmr.mgh.harvard.edu wrote:
Re: [Freesurfer] GLM: Error Matric-Scale
I don't know the open command. Try some other editor. Attached is what I get when I run the cat command below, and it reads fine into FS.
On 08/25/2014 02:50 AM, Robby De Pauw wrote:
Dear Douglas,
The file is created on a mac using the open -e command. I’ve tried running your command:
cat whiplash.fsgd | sed 's/\r/\n/g' > new.whiplash.fsgd
However, this makes the file unreadable for FreeSurfer. Any ideas?
Thank you in advance,
Robby
Date: Thu, 21 Aug 2014 13:30:19 -0400 From: Douglas N Greve <greve@nmr.mgh.harvard.edu mailto:greve@nmr.mgh.harvard.edu> Subject: Re: [Freesurfer] GLM: Error Matric-Scale To: freesurfer@nmr.mgh.harvard.edu mailto:freesurfer@nmr.mgh.harvard.edu Message-ID: <53F62CAB.1060307@nmr.mgh.harvard.edu mailto:53F62CAB.1060307@nmr.mgh.harvard.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
It looks like your fsgd file may have been created on a windows computer. Is that possible? Try reformatting it in linux or mac.
doug
On 08/20/2014 12:58 PM, Robby De Pauw wrote:
Hi there FreeSurfer
When trying the GLM-analysis I keep getting the following error. Could you help me with fixing it?
ERROR: matrix is ill-conditioned or badly scaled, condno = 1e+08
Possible problem with experimental design: Check for duplicate entries and/or lack of range of continuous variables within a class. If you seek help with this problem, make sure to send:
- Your command line:
mri_glmfit --y lh.whiplash.thickness.10B.mgh --fsgd whiplash.fsgd dods --C group_diff.mtx --surf fsaverage lh --cortex --glmdir lh.whiplash.glmdir 2. The FSGD file (if using one) 3. And the design matrix above
Thank you in advance,
Robby
Robby De Pauw, dra. *Ghent University* Department of Physiotherapy and Rehabilitation Sciences 3B3 De Pintelaan 185 B-9000 Ghent
Robby.DePauw@Ugent.be mailto:Robby.DePauw@Ugent.be mailto:Robby.DePauw@Ugent.be
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu mailto:Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Robby De Pauw, dra. *Ghent University* Department of Physiotherapy and Rehabilitation Sciences 3B3 De Pintelaan 185 B-9000 Ghent
Robby.DePauw@Ugent.be mailto:Robby.DePauw@Ugent.be
On 22 Aug 2014, at 18:00, freesurfer-request@nmr.mgh.harvard.edu mailto:freesurfer-request@nmr.mgh.harvard.edu wrote:
Re: [Freesurfer] GLM: Error Matric-Scale
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu