Converts a two-dimensional NDF into a GASP image NDF2GASP
"
Notes"
for the details of the conversion. !
) means no replacements are to be made. This parameter is ignored if there
are no bad values. [!]
".dat"
file contains the data array,
and ".hdr"
is the associated header file that specifies the dimensions of the image. The suggested
default is the current value. a1367.dat
and the header file
a1367.hdr
. If there are any bad values present they are copied verbatim to the GASP image. ngc253.dat
and the header file ngc253.hdr
. Any bad values in the data
array are replaced by minus one. The NDF data array is copied to the ".dat"
file.
The dimensions of the NDF data array is written to the ".hdr"
header file.
All other NDF components are ignored.
The GASP image produced has by definition type SIGNED WORD. There is type conversion of the data array to this type.
Bad values may arise due to type conversion. These too are substituted by the (non-null) value of FILLBAD.
For an NDF with an odd number of columns, the last column from the GASP image is trimmed.