healpix.core.dm
Enum HealpixMap.CoordSys

java.lang.Object
  extended by java.lang.Enum<HealpixMap.CoordSys>
      extended by healpix.core.dm.HealpixMap.CoordSys
All Implemented Interfaces:
Serializable, Comparable<HealpixMap.CoordSys>
Enclosing interface:
HealpixMap

public static enum HealpixMap.CoordSys
extends Enum<HealpixMap.CoordSys>

Coordinate system for this map - will put C,E,G in fits file.


Enum Constant Summary
CELESTIAL
          C - Equatorial for some of us
ECLIPTIC
          E
GALACTIC
          G
 
Field Summary
 char fitsType
          the FitsType char to go in COORDSYS Keyword
 
Method Summary
static HealpixMap.CoordSys fromFits(char c)
           
static HealpixMap.CoordSys valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HealpixMap.CoordSys[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CELESTIAL

public static final HealpixMap.CoordSys CELESTIAL
C - Equatorial for some of us


ECLIPTIC

public static final HealpixMap.CoordSys ECLIPTIC
E


GALACTIC

public static final HealpixMap.CoordSys GALACTIC
G

Field Detail

fitsType

public char fitsType
the FitsType char to go in COORDSYS Keyword

Method Detail

values

public static HealpixMap.CoordSys[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (HealpixMap.CoordSys c : HealpixMap.CoordSys.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static HealpixMap.CoordSys valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

fromFits

public static HealpixMap.CoordSys fromFits(char c)
Parameters:
c -
Returns:
CoordSys from the given CHAR

"Built from revision exported"