NAME

spline_convert_format - converts between spline deformation file formats


SYNOPSIS

  spline_convert_format [I<option>=I<value>]
  Options:
     input              input file
     output             output file
     output_format      ascii|fits|new_binary|old_binary|rdb_dfm


DESCRIPTION

spline_convert_format reads a spline deformation file and converts it to another (possibly the same) format. The RMS spline deformation amplitude is written to standard error.


OPTIONS

spline_convert_format uses an IRAF-compatible parameter interface.

input input file
This parameter specifies the name of the file/stream for the input spline deformation file. If the filename is the string stdin, it reads UNIX standard input. The file format is auto-recognized; the file format can be the ascii format, the old binary format, the new binary format, or a spline FITS file. Currently, the input file can NOT be an rdb file.

output output file
This parameter specifies the name of the file/stream for the output spline deformation file. If the filename is the string stdout, it writes to UNIX standard output. The format of the output file is specified by the option output_format.

output_format: string
This parameter specifies the format of the output file.
ascii
old ascii spline file format.

old_binary
old binary spline file format (Fortran unformated file).

new_binary
new binary spline file format (C binary stream).

rdb_dfm
/RDB table; the columns are the array indices indicating theta and z, the theta and z coordinates, and the deformation amplitude.

fits
FITS spline file

help yes|no
Print out a simple help message and exit.

version yes|no
Print out spline_convert_format's version and exit.

debug list
A list of debug flags. None available yet.


COPYRIGHT & LICENSE

Copyright 2006 Smithsonian Astrophysical Observatory

This software is released under the GNU General Public License. You may find a copy at

          http://www.fsf.org/copyleft/gpl.html


VERSION

This documents version 1.1.0 of spline_convert_format.


AUTHOR

T. Gaetz