CImage:GetWcsType


The GetWcsType method returns an integer code for the type of world coordinate system ("WCS") calibration used by the image. The specific WCS projection type is returned by the GetWcsProj method.

Syntax

nWcsCode = CImage:GetWcsType()

bullet.gif    If a WCS exists, then nWcsCode is returned as WCS Code in the table below.

bullet.gif    If no WCS exists, then 0 is returned.

Remarks

The WCS Code returned by this method is defined in the following table. The WCS Type is defined in the FITS Format.

WCS Code

WCS Type

0

Pixel. This is the default if no WCS calibration exists.

1

Linear

2

Cartesian

3

Equatorial (or celestial)

Related Topics

CImage class

GetWcsProj

WcsIsEq

WcsToXy

WcsStrToXy

Image Coordinate System

Subpixel Coordinate Definition

World Coordinate System


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.