CImage:GetWcsType
The GetWcsType method returns an integer code for the type of world coordinate system ("WCS") calibration used by the image.
nWcsCode = CImage:GetWcsType()
If a WCS exists, then nWcsCode is returned as described in the table below.
If no WCS exists, then 0 is returned.
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 type is the default if no WCS calibration exists. |
1 |
Linear |
2 |
Cartesian |
3 |
Equatorial (or celestial) |
CImage class, WcsIsEq, WcsToXy, WcsStrToXy, Image Coordinate System, Subpixel Coordinate Definition, World Coordinate System
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.