Plate.AttachFITS() Method

Attach a FITS image file for analysis and updating

Syntax

Plate.AttachFITS(FileName)

The method syntax has these parts:

Part Description
FileName (String) The full path and name of the FITS image to attach
Return (Boolean) Success or failure (generates trappable error on failure)

Remarks

A variety of FITS image formats are supported, including both signed and unsigned 16-bit data, 32-bit integer and IEEE floating point data, as well as 3-plane (color) images where each plane is in a supported pixel format. When the FITS file is read, the image geometry is set up. If there is World Coordinate System data present in the image, it is loaded into the appropriate properties of the Plate object.

The image file is opened in read-only mode when attached. If Plate.UpdateFITS(), Plate.WriteHistory(), or Plate.WriteComment() is called, the image file is reopened for write.

Upon attaching, the Mapped FITS Properties become available. Some may be changed. This is true even if the alternate Plate.AttachNoImage() method is used.