Package uk.ac.starlink.pal
Class AMParams
- java.lang.Object
-
- uk.ac.starlink.pal.AMParams
-
public class AMParams extends java.lang.Object
Star-independent mean-to-apparent parameters
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double[]
getBary()
Get barycentric position of the Earthdouble[]
getEarthv()
Get barycentric Earth velocitydouble
getGrad()
Get gravitational radius of Sundouble[]
getHelio()
Get heliocentric direction of the Earthdouble[][]
getPrecess()
Get precession/nutation matixdouble
getRoot()
Get square root of ( 1 - |v x v| )double
getTimeint()
Get time interval for proper motionvoid
setBary(double[] b)
Set barycentric position of the Earthvoid
setEarthv(double[] bev)
set barycentric Earth velocityvoid
setGrad(double g)
Set gravitational radius of Sunvoid
setHelio(double[] h)
Set heliocentric direction of the Earthvoid
setPrecess(double[][] p)
Get precession/nutation matixvoid
setRoot(double sqrt)
Set square root of ( 1 - |v x v| )void
setTimeint(double t)
set time interval for proper motionjava.lang.String
toString()
Get string representation apparent parameters
-
-
-
Method Detail
-
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
public java.lang.String toString()
Get string representation apparent parameters- Overrides:
toString
in classjava.lang.Object
- Returns:
- String representation
-
-