|
Man /
LinreconContent-type: text/html linreconSection: User Commands (1)Index Return to Main Contents NAMElinrecon - Runs a linear transformation in each voxel.SYNOPSISlinrecon <data file> <scheme file> <matrix file>DESCRIPTIONReads a linear transformation from the matrix file assuming the imaging scheme specified in the scheme file. Performs the linear transformation on the data in every voxel and outputs the result to the standard output. The ouput in every voxel is actually [exit code, ln(S(0)), p1, ..., pR] where p1, ..., pR are the parameters of the reconstruction. Possible exit codes are:0. No problems. 6. Bad data replaced by substitution of zero, see modelfit(1). The matrix must be R by (N+M), where N+M is the number of measurements and R is the number of parameters of the reconstruction. The matrix file contains binary double-precision floats. The matrix elements are stored row by row. If the first command line argument is - the program reads data from the standard input. EXAMPLESFit the diffusion tensor to the data in SubjectA.Bfloat using linear regression to the log measurements:
The above is equivalent to:
To save a matrix from matlab in the right format, follow this example:
ans =
Then run $ linrecon SubjectA.Bfloat A.scheme /tmp/Q_BallBMX7_Matrix.Bdouble -normalize > /tmp/QBALL_A.Bdouble The matrix Q_BallBMX7_Matrix.Bdouble is for Q-Ball reconstruction, which uses the normalized measurements, hence the -normalize flag. OPTIONS
AUTHORSDaniel Alexander <camino@cs.ucl.ac.uk>SEE ALSOmodelfit(1), twotenfit(1), threetenfit(1), fa(1), trd(1), shfit(1), shanis(1), dtfit(1).BUGS
IndexThis document was created by man2html, using the manual pages. Time: 02:07:11 GMT, December 04, 2017 |