All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JObserve.Precession

java.lang.Object
   |
   +----JObserve.Precession

public class Precession
extends Object
Celestial precession utility class This class consists of static member functions and is never instantiated.


Constructor Index

 o Precession()

Method Index

 o MatrixMultiply(double[][], double[][], double[][])
Multiply two 3x3 matrices C = A * B Note: All matrices be fully instantiated prior to the call.
 o Precess(boolean, double, double, double, double)
Precess celestial coordinates
 o PrecessBtoJ(double, double, double)
Precess celestial coordinates B1950 to J2000 Coordinates are transformed from 1950 .0to the Epoch of observation to the date of the observation using the "B" conventions and from there to the J2000 standard Epoch and Equinox using the "J" conventions.
 o PrecessFrom1900(double, double, double)
Precess from 1900 to epoch of date,
 o PrecessJtoB(double, double, double)
Precess celestial coordinates J2000 to B1950 Coordinates are transformed from 2000.0 to the Epoch of observation to the date of the observation using the "J" conventions and from there to the B1950 standard Epoch and Equinox using the "B" conventions.

Constructors

 o Precession
 public Precession()

Methods

 o Precess
 public static double[] Precess(boolean J2000,
                                double MJD1,
                                double Ra1,
                                double Dec1,
                                double MJD2)
Precess celestial coordinates

Parameters:
boolean - True if J2000 system else B1950
double - Initial MJD date of coordinates
double - Initial RA (radians)
double - Initial Dec (radians)
double - MJD to which coordinates are to be precessed.
Returns:
double[] {Ra, Dec} of new date.
 o PrecessBtoJ
 public static double[] PrecessBtoJ(double EpochOfObs,
                                    double BRa,
                                    double BDec)
Precess celestial coordinates B1950 to J2000 Coordinates are transformed from 1950 .0to the Epoch of observation to the date of the observation using the "B" conventions and from there to the J2000 standard Epoch and Equinox using the "J" conventions.

Parameters:
double - Epoch of the B1950 coordinates (when measured as MJD)
double - B1950 RA (radians)
double - B1950 Dec (radians)
Returns:
double[] {Ra, Dec} of J2000.
 o PrecessJtoB
 public static double[] PrecessJtoB(double EpochOfObs,
                                    double JRa,
                                    double JDec)
Precess celestial coordinates J2000 to B1950 Coordinates are transformed from 2000.0 to the Epoch of observation to the date of the observation using the "J" conventions and from there to the B1950 standard Epoch and Equinox using the "B" conventions.

Parameters:
double - Epoch of the J2000 coordinates (when measured as MJD)
double - J2000 RA (radians)
double - J2000 Dec (radians)
Returns:
double[] {Ra, Dec} of B1950.
 o MatrixMultiply
 public static void MatrixMultiply(double Matrix1[][],
                                   double Matrix2[][],
                                   double Result[][])
Multiply two 3x3 matrices C = A * B Note: All matrices be fully instantiated prior to the call.

Parameters:
double[][]Matrix A
double[][] - Matrix B
double[][] - Matrix C
 o PrecessFrom1900
 public static double[] PrecessFrom1900(double iat,
                                        double ra,
                                        double dec)
Precess from 1900 to epoch of date,

Parameters:
double - the IAT time (seconds?)
double - apparent right Ascension (radians)
double - apparent declination (radians)
Returns:
double[] {Ra, Dec} of date

All Packages  Class Hierarchy  This Package  Previous  Next  Index