Package uk.ac.starlink.pal
Class Stardata
- java.lang.Object
-
- uk.ac.starlink.pal.Stardata
-
public class Stardata extends java.lang.Object
Various characteristics of an Observation
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AngleDR
getAngle()
Get the Angledouble[]
getMotion()
Get the Proper motiondouble
getParallax()
Get the Parallaxdouble
getRV()
Get the radial velocityjava.lang.String
toString()
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:
toString
in classjava.lang.Object
- Returns:
- Angle, Proper motion, parallax and radial velocity
-
-