From Camino

Man: Shformatconverter

Content-type: text/html Manpage of shformatconverter

shformatconverter

Section: User Commands (1)
Index Return to Main Contents

 

NAME

shformatconverter - Converts spherical harmonics from third party programs into the format used by camino.

 

SYNOPSIS

shformatconveter [-source <tournier>]

 

DESCRIPTION

This program reorders spherical harmonic coeffients output from third party programs so that they can be read by Camino. The format Camino expects is:

[c00, c20, Re(c21), Im(c21), Re(c22), Im(c22), c40, Re(c41), Im(c41), ...]

Currently, the program can read the output from Tourniers Spherical Deconvolution (SD) code.

 

EXAMPLES

To convert the file sdCoeffs.Bfloat from Tournier's SD code, which has been saved as big-endian floats, use the command:

shformatconverter -source tournier -inputdatatype float -outputdatatype double < sdCoeffs.Bfloat > sdCoeffs_Camino.Bdouble


   

OPTIONS

-source < tournier >
The source flag is used to define the origin of the input spherical harmonic coefficients. Currently only Tourniers SD code is supported.

-inputdatatype < double | float >
The format of the input data. It is assumed to be big-endian format.

-outputdatatype < double | float >
The format of the output data. It is assumed to be big-endian format.

 

AUTHORS

Kiran K Seunarine <camino@cs.ucl.ac.uk>

 

SEE ALSO

 

BUGS


 

Index

NAME
SYNOPSIS
DESCRIPTION
EXAMPLES
OPTIONS
AUTHORS
SEE ALSO
BUGS

This document was created by man2html, using the manual pages.
Time: 02:07:11 GMT, December 04, 2017

Retrieved from http://web4.cs.ucl.ac.uk/research/medic/camino/pmwiki/pmwiki.php?n=Man.Shformatconverter
Page last modified on October 26, 2009, at 03:04 PM