Package uk.ac.starlink.pal
Class Stardata
- java.lang.Object
-
- uk.ac.starlink.pal.Stardata
-
public class Stardata extends java.lang.ObjectVarious characteristics of an Observation
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AngleDRgetAngle()Get the Angledouble[]getMotion()Get the Proper motiondoublegetParallax()Get the ParallaxdoublegetRV()Get the radial velocityjava.lang.StringtoString()Get the current values as a string
-
-
-
Constructor Detail
-
Stardata
public Stardata(AngleDR a, double[] pm, double p, double rv)
Various characteristics of an Observation- Parameters:
a- Angle (α,δ)pm- Proper motionp- Parallaxpm- Radial velocity
-
-
Method Detail
-
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 java.lang.String toString()
Get the current values as a string- Overrides:
toStringin classjava.lang.Object- Returns:
- Angle, Proper motion, parallax and radial velocity
-
-