Class Nsl37


public class Nsl37 extends AnalyticalAttitudeDataServer
  • Constructor Details

    • Nsl37

      public Nsl37()
      Creates a new instance of the Nominal Scanning Law with default values from the GPDB
  • Method Details

    • getAttitudeNative

      public IAttitude getAttitudeNative(double julianDate)
      Calculate the scanning law at a given time. See GAIA-CA-TN-OCA-FM-037-2
      Parameters:
      julianDate - The julian date
      Returns:
      The attidue object
    • getAttitudeNative

      protected IAttitude getAttitudeNative(long tNow)
      Description copied from class: BaseAttitudeDataServer
      Evaluate the attitude in the native time system of the server
      Specified by:
      getAttitudeNative in class BaseAttitudeDataServer<IAttitude>
      Parameters:
      tNow - The time elapsed in nanoseconds since epoch J2010
      Returns:
      The attitude object
    • recomputeConstants

      public void recomputeConstants()
      Initializes quantities that only depend on the initial parameters. Must be called whenever the scanning law parameters have been changed.
    • modFourPi

      public double modFourPi(double angle)
      Returns the argument modulo 4*pi [rad]
      Parameters:
      angle - angle [rad]
      Returns:
      angle modulo 4*PI
    • getNuFull

      public double getNuFull()
      Returns:
      full precession angle [rad]
    • getNuMod4Pi

      public double getNuMod4Pi()
      Returns:
      precession angle modulo 2 Pi
    • getOmegaFull

      public double getOmegaFull()
      Returns:
      full spin angle [rad]
    • getOmegaRevs

      public int getOmegaRevs()
      Returns:
      number of revolutions around the spin axis
    • getOmegaMod4Pi

      public double getOmegaMod4Pi()
      Returns:
      spin angle modulo 4 Pi
    • getLSunRef

      public double getLSunRef()
      Returns:
      longitude of sun [rad]
    • getOmegaDot1

      public double getOmegaDot1()
      Returns:
      time derivative of spin angle