Class Stardata

java.lang.Object
uk.ac.starlink.pal.Stardata

public class Stardata extends Object
Various characteristics of an Observation
  • Constructor Details

    • Stardata

      public Stardata(AngleDR a, double[] pm, double p, double rv)
      Various characteristics of an Observation
      Parameters:
      a - Angle (α,δ)
      pm - Proper motion
      p - Parallax
      rv - Radial velocity
  • Method Details

    • getAngle

      public AngleDR getAngle()
      Get the Angle
      Returns:
      Angle (α,δ)
    • getMotion

      public double[] getMotion()
      Get the Proper motion
      Returns:
      Proper motion
    • getParallax

      public double getParallax()
      Get the Parallax
      Returns:
      Parallax
    • getRV

      public double getRV()
      Get the radial velocity
      Returns:
      Radial velocity
    • toString

      public String toString()
      Get the current values as a string
      Overrides:
      toString in class Object
      Returns:
      Angle, Proper motion, parallax and radial velocity