Package uk.ac.starlink.pal
Class AMParams
java.lang.Object
uk.ac.starlink.pal.AMParams
Star-independent mean-to-apparent parameters
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]getBary()Get barycentric position of the Earthdouble[]Get barycentric Earth velocitydoublegetGrad()Get gravitational radius of Sundouble[]getHelio()Get heliocentric direction of the Earthdouble[][]Get precession/nutation matixdoublegetRoot()Get square root of ( 1 - |v x v| )doubleGet time interval for proper motionvoidsetBary(double[] b) Set barycentric position of the EarthvoidsetEarthv(double[] bev) set barycentric Earth velocityvoidsetGrad(double g) Set gravitational radius of SunvoidsetHelio(double[] h) Set heliocentric direction of the EarthvoidsetPrecess(double[][] p) Get precession/nutation matixvoidsetRoot(double sqrt) Set square root of ( 1 - |v x v| )voidsetTimeint(double t) set time interval for proper motiontoString()Get string representation apparent parameters
-
Method Details
-
getTimeint
public double getTimeint()Get time interval for proper motion- Returns:
- Time interval (Julian years)
-
getBary
public double[] getBary()Get barycentric position of the Earth- Returns:
- Barycentric position of the Earth (AU) [3]
-
getHelio
public double[] getHelio()Get heliocentric direction of the Earth- Returns:
- Heliocentric direction of the Earth (unit vector) [3]
-
getGrad
public double getGrad()Get gravitational radius of Sun- Returns:
- (Gravitational radius of Sun) x 2 / (Sun-earth distance)
-
getEarthv
public double[] getEarthv()Get barycentric Earth velocity- Returns:
- Barycentric Earth velocity in units of c [3]
-
getRoot
public double getRoot()Get square root of ( 1 - |v x v| )- Returns:
- Square root of ( 1 - |v x v| )
-
getPrecess
public double[][] getPrecess()Get precession/nutation matix- Returns:
- Precession/nutation matix [3][3]
-
setTimeint
public void setTimeint(double t) set time interval for proper motion- Parameters:
t- Time interval (Julian years)
-
setBary
public void setBary(double[] b) Set barycentric position of the Earth- Parameters:
b- [3] Barycentric position of the Earth (AU)
-
setHelio
public void setHelio(double[] h) Set heliocentric direction of the Earth- Parameters:
h- [3] Heliocentric direction of the Earth (unit vector)
-
setGrad
public void setGrad(double g) Set gravitational radius of Sun- Parameters:
g- (Gravitational radius of Sun) x 2 / (Sun-earth distance)
-
setEarthv
public void setEarthv(double[] bev) set barycentric Earth velocity- Parameters:
bev- [3] barycentric Earth velocity in units of c
-
setRoot
public void setRoot(double sqrt) Set square root of ( 1 - |v x v| )- Parameters:
sqrt- Square Root of ( 1 - |v x v| )
-
setPrecess
public void setPrecess(double[][] p) Get precession/nutation matix- Parameters:
p- [3][3] Precession/nutation matix
-
toString
Get string representation apparent parameters
-