Mark,
thank you, I did add a constant to the whole image, but it still is not
completing. The error however is now a little further down, in the stats:
An exception has been thrown
Logic error: detected by Newmat: Minimum or maximum of null matrix
Error: FILM did not complete - it probably ran out of memor
I tried running the same script with/without FILM (in fact, this
analysis is on residuals which should already have been pre-whitened..),
but i get exactly the same error. Is there any other feature of the
residuals that may be causing this?
thanks
martin
Mark Jenkinson wrote:
> Hi,
>
> The problem is most likely due to the fact that res4d has a zero mean.
> This causes problems for mask generation and intensity normalisation,
> which is where this crashes.
>
> Add on a scaled mask image to your res4d (to give it a non-zero mean)
> before running FEAT and you'll probably be fine.
>
> All the best,
> Mark
>
>
>
>
>
> Martin M Monti wrote:
>> Dear All,
>>
>> I'm running a 2-step regression by taking the residulas of a a
>> first-level and using them into another first level.
>> However, as I run the "second" first-level I consistently get the
>> following error:
>>
>> Prestats
>>
>> Total original volumes = 150
>>
>> /imaging/local/linux/bin/fsl-4.0.1/bin/fslroi
>> /imaging/mm03/STMemory/FSL2/sub203/sub203_Flobs_Res example_func 75 1
>> /imaging/local/linux/bin/fsl-4.0.1/bin/fslmaths
>> /imaging/mm03/STMemory/FSL2/sub203/sub203_Flobs_Res -thrp 10 -Tmin
>> -bin mask -odt char
>> /imaging/local/linux/bin/fsl-4.0.1/bin/fslmaths
>> /imaging/mm03/STMemory/FSL2/sub203/sub203_Flobs_Res -mask mask
>> /imaging/mm03/STMemory/FSL2/sub203/sub203_Flobs_Res
>> /imaging/local/linux/bin/fsl-4.0.1/bin/fslmaths
>> /imaging/mm03/STMemory/FSL2/sub203/sub203_Flobs_Res -ing 10000
>> filtered_func_data -odt float
>> ERROR:: Empty mask image
>> ERROR:: Empty mask image
>> ERROR:: Empty mask image
>> ERROR:: Empty mask image
>>
>> etc ..
>>
>> As I inspected the input data file ("sub203_Flobs_Res.nii.gz" above
>> -- which is simply a copy of the res4d.nii.gz file in the stats
>> folder of the "first" first-level analysis) I noticed that by when
>> the process has finished (and given the error above) it is empty, yet
>> I am sure that it was not empty before launching the feat script.
>>
>> Ideas what I'm doing wrong?
>>
>> all the best
>>
>> martin
>>
|