IRAF2NDF

Converts an IRAF image to an NDF

Description:

This application converts an IRAF image to an NDF. See the "Notes" for details of the conversion.

Usage:

iraf2ndf in out

Parameters:

IN = LITERAL (Read)
The name of the IRAF image. Note that this excludes the ".imh" file extension.
OUT = NDF (Write)
The name of the NDF to be produced.
PROFITS = _LOGICAL (Read)
If TRUE, the user headers of the IRAF file are written verbatim to the NDF’s FITS extension. Any IRAF history records are also appended to the FITS extension. The FITS extension is not created if there are no user headers present in the IRAF file. [TRUE]
PROHIS = _LOGICAL (Read)
This parameter decides whether or not to create NDF HISTORY records. Only the IRAF headers with keyword HISTORY, and which originated from NDF HISTORY records are used. If PROHIS=TRUE, NDF HISTORY records are created. [TRUE]

Examples:

iraf2ndf ell_galaxy new_galaxy
Converts the IRAF image ell_galaxy (comprising files ell_galaxy.imh and ell_galaxy.pix) to an NDF called new_galaxy.
iraf2ndf ell_galaxy new_galaxy noprofits noprohis
As above, except no FITS extension is created, and NDF-style HISTORY lines in ell_galaxy.imh are not transferred to HISTORY records in NDF new_galaxy.

Notes:

The rules for the conversion are as follows:

Related Applications

Convert: NDF2IRAF.

Pitfalls

References

IRAF User Handbook Volume 1A: A User’s Guide to FORTRAN Programming in IRAF, the IMFORT Interface, by Doug Tody.

Keywords

CONVERT, IRAF

Implementation Status: