Class Mars07


  • public class Mars07
    extends java.lang.Object
    An implementation of the martian moons ephemerides using Lainey et al. 2007 theory.

    Reference: Lainey, V., Dehant, V. and Paetzold, M. "First numerical ephemerides of the Martian moons", Astron. Astrophys., vol 465 pp.1075-1084 (2007).

    Author:
    talonso
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static double[] getMoonPosition​(double jd, int target, boolean positions)
      This method delivers the ephemerides of the Martian moons.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getMoonPosition

        public static double[] getMoonPosition​(double jd,
                                               int target,
                                               boolean positions)
        This method delivers the ephemerides of the Martian moons. It is based on a numerical model fitted to observations dispatched from 1877 to 2005. The expected accuracy of these ephemerides is around 500 meters for the period [1998:2010], and few kilometers for the period [1967:2020].

        There are no explicit time limit in the use of this subroutine. However we DO NOT recommend its use outside the period [1877-2025]. More details are available in (Lainey, Dehant, Patzold, 2007).

        Parameters:
        jd - Ephemeris time, TDB.
        target - Satellite, from 1 (Phobos) to 2 (Deimos).
        positions - Select the output type. True to get rectangular positions, false for orbital elements.
        Returns:
        The output elements/positions. Angles in radians, positions in AU (mean equatorial J2000).