cds.astro
Class Galactic

java.lang.Object
  extended by cds.astro.Astroframe
      extended by cds.astro.Galactic
All Implemented Interfaces:
java.io.Serializable

public class Galactic
extends Astroframe

The Galactic frame is defined such that the plane of our Galaxy (the Milky Way) has a latitude close to zero. The galactic center has a position (0,0) in this system. It was originally defined by reference to the FK4 System.

Author:
Francois Ochsenbein (CDS)
See Also:
Serialized Form

Field Summary
static java.lang.String class_name
          Name of this frame.
static double[][] gal_1950
          Rotation matrix to move from FK4 to Galactic.
static double[][] gal_2000
          Rotation matrix to move from FK5 to Galactic.
 
Fields inherited from class cds.astro.Astroframe
base_epoch, ed_lat, ed_lon, epoch, hms, ICRSmatrix, name, precision
 
Constructor Summary
Galactic()
          Instanciate an Galactic frame
 
Method Summary
 double[][] toICRSmatrix()
          Defines the rotation matrix to rotate to ICRS
 
Methods inherited from class cds.astro.Astroframe
equals, fromICRS, fromICRS, setFrameEpoch, setICRSmatrix, toICRS, toICRS, toString, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

class_name

public static java.lang.String class_name
Name of this frame.


gal_1950

public static final double[][] gal_1950
Rotation matrix to move from FK4 to Galactic.


gal_2000

public static final double[][] gal_2000
Rotation matrix to move from FK5 to Galactic. (from Hipparcos documentation vol1, Eq. 1.5.11, see ftp://cdsarc.u-strasbg.fr/pub/cats/I/239/version_cd/docs/vol1/sect1_05.pdf transformed to have a truly orthogonal matrix.

Constructor Detail

Galactic

public Galactic()
Instanciate an Galactic frame

Method Detail

toICRSmatrix

public double[][] toICRSmatrix()
Defines the rotation matrix to rotate to ICRS

Specified by:
toICRSmatrix in class Astroframe
Returns:
the 3x3 rotation matrix to convert a position in ICRS frame


Copyright © 2009 UDS/CNRS