.help skstati Mar00 Skywcs
.ih
NAME
skstati -- get an integer sky coordinate descriptor parameter
.ih
SYNOPSIS
include <skywcs.h>

ival = sk_stati (coo, parameter)

.nf
pointer	coo		# the input sky coordinate descriptor
int	parameter	# the integer parameter to be returned
.fi
.ih
ARGUMENTS
.ls  coo    
The sky coordinate descriptor.
.le
.ls parameter
Parameter to be returned. The integer parameter definitions in skywcs.h are:
.nf
	S_CTYPE		# the celestial coordinate system type
	S_RADECSYS	# the equatorial system type
	S_NLNGUNITS	# the ra / longitude units
	S_NLATUNITS	# the dec/ latitude units
	S_WTYPE		# the projection type
	S_PLNGAX	# the physical ra / longitude axis
	S_PLATAX	# the physical dec / latitude axis
	S_XLAX		# the logical ra / longitude axis
	S_YLAX		# the logical dec / latitude axis
	S_PIXTYPE	# the IRAF pixel coordinate system type
	S_NLNGAX	# the length of the ra / longitude axis
	S_NLATAX	# the length of the dec / latitude axis
	S_STATUS	# the coordinate system status 
.fi
.le
.ih
DESCRIPTION
Sk_stati returns the values of integer sky coordinate descriptor parameters.

.ih
NOTES
Permitted values of S_CTYPE are CTYPE_EQUATORIAL, CTYPE_ECLIPTIC, 
CTYPE_GALACTIC, and CTYPE_SUPERGALACTIC. The corresponding string dictionary
is CTYPE_LIST.

Permitted types of S_RADECSYS are EQTYPE_FK4, EQTYPE_FK4NOE,
EQTYPE_FK5, EQTYPE, ICRS, and EQTYPE_GAPPT. The corresponding string
dictionary is EQTYPE_LIST.

Permitted values of S_WTYPE are WTYPE_LIN, WTYPE_AZP, WTYPE_TAN,  WTYPE_SIN,
WTYPE_STG, WTYPE_ARC, WTYPE_ZPN, WTYPE_ZEA, WTYPE_AIR, WTYPE_CYP, WTYPE_CAR,
WTYPE_MER, WTYPE_CEA, WTYPE_COP, WTYPE_COD, WTYPE_COE, WTYPE_COO, WTYPE_BON,
WTYPE_PCO, WTYPE_GLS, WTYPE_PAR, WTYPE_AIT, WTYPE_MOL, WTYPE_CSC, WTYPE_QSC,
WTYPE_TSC, WTYPE_TNX, WTYPE_ZPX. The corresponding string dictionary is
WTYPE_LIST.

Permitted values of S_PIXTYPE are  PIXTYPE_LOGICAL, PIXTYPE_TV,
PIXTYPE_PHYSICAL.  and PIXTPE_WORLD. The corresponding string dictionary
is PIXTYPE_LIST.

Permitted values of S_NLNGUNITS are SKY_HOURS, SKY_DEGREES, and SKY_RADIANS.
The corresponding string dictionary is SKY_LNG_UNITLIST.
Permitted values of S_NLATUNITS are SKY_DEGREES, and SKY_RADIANS.
The corresponding string dictionary is SKY_LAT_UNITLIST.

The parameters S_CTYPE, S_RADECSYS, S_NLNGUNITS, and S_NLATUNITS are
important for all sky coordinate descriptors regardless of the source.
The parameters S_WTYPE, S_PLNGAX, S_PLATAX, S_XLAX, S_YLAX, S_PIXTYPE,
S_NLNGAX, and S_NLATAX are only important for sky coordinate descriptors
derived from an image sky coordinate systems. S_STATUS is OK if the sky
coordinate descriptor describes a valid celestial coordinate system, ERR
otherwise.

.ih
SEE ALSO
skstatd, skstats
.endhelp
