GASP2NDF

Converts an image in GASP format to an NDF

Description:

This application converts a GAlaxy Surface Photometry (GASP) format file into an NDF.

Usage:

gasp2ndf in out shape=?

Parameters:

IN = FILENAME (Read)
A character string containing the name of GASP file to convert. The extension should not be given, since ".dat" is assumed.
OUT = NDF (Write)
The name of the output NDF.
SHAPE( 2 ) = _INTEGER (Read)
The dimensions of the GASP image (the number of columns followed by the number of rows). Each dimension must be in the range 1 to 1024. This parameter is only used if supplied on the command line, or if the header file corresponding to the GASP image does not exist or cannot be opened.

Examples:

gasp2ndf m31_gasp m31
Convert a GASP file called m31_gasp.dat into an NDF called m31. The dimensions of the image are taken from the header file m31_gasp.hdr.
gasp2ndf n1068 ngc1068 shape=[256,512]
Take the pixel values in the GASP file n1068.dat and create the NDF ngc1068 with dimensions 256 columns by 512 rows.

Notes:

Related Applications

Convert: NDF2GASP.

References

GASP documentation (MUD/66).