Function: AXTYPE Purpose: The function axtype returns the type of axis, the natural units, secondary units and the projection type. Category: PHYSICAL COORDINATES File: axtype.c Author: K.G. Begeman Use: INTEGER AXTYPE( CTYPE, Input CHARACTER*(*) CUNIT, Output CHARACTER*(*) DUNIT, Output CHARACTER*(*) SKYSYS, Output INTEGER PROSYS, Output INTEGER VELSYS ) Output INTEGER AXTYPE Returns: 0: unknown type of axis. 1: spatial axis longitude. 2: spatial axis latitude. 3: spectral axis frequency. 4: spectral axis velocity. 5: spectral axis wavelength. 6: spectral axis inverse wavelength. 7: spectral axis log(wavelength). 8: time axis. 9: polarisation axis. 10: parameter axis. 11: sample axis of iras data 12: tick axis of iras data 13: detector axis of iras data 14: snip axis of iras data CUNIT Natural axis units. DUNIT Secondary axis units. SKYSYS If AXTYPE equals 1 or 2, the sky system id: 1 = equatorial 2 = galactic 3 = ecliptic 4 = supergalactic PROSYS if AXTYPE equals 1 or 2, the sky projection system id: 1 = AITOFF equal area 2 = equivalent cylindrical 3 = flat 4 = gnomonic 5 = orthographic 6 = rectangular 7 = global sinusoidal 8 = north celestial pole (WSRT) 9 = stereographic 10 = mercator projection VELSYS If AXTYPE equals 3 the velocity system id: 1 = optical 2 = radio If AXTYPE equals 4 VELSYS = 2. Updates: Dec 11, 1989 : KGB, document created. Aug 28, 1991 : PRR, add IRDS axis types (SAMPLE etc.) Sep 24, 1999 : VOG, allow unknown axis names to be of parameter type.