Hi An,

The default fitting routine uses ordinary least squares. You can do weighted least squares using the -w option. There is no positive-definiteness constraint on the fitted tensor, so negative eigenvalues are allowed (take a look at the list archive, this has been discussed extensively before).

The source code is available in $FSLDIR/src/fdt/dtifit.cc.

Cheers,
Stam

  

On 22 Nov 2010, at 21:40, Vo, An Phuoc wrote:

Hi,
 
Does dtifit use weighted tensor fitting?
 
How does dtifit process negative eigen values?  
 
Is source code of dtifit available for download ?
 
Best,
An