stella.util
Class PointingFunction.ExtendedModel
java.lang.Object
stella.util.PointingFunction
stella.util.PointingFunction.ExtendedModel
- All Implemented Interfaces:
- VectorFunction
- Enclosing class:
- PointingFunction
public static class PointingFunction.ExtendedModel
- extends PointingFunction
The extended pointing model. According to OpenTSI 1.0 it reads as
follows:
Δaz=AAN·sin(A)·ctg(Z)-AAE·cos(A)·ctg(Z)
+NPAE·ctg(Z)-BNP/sin(Z)+AES·sin(A)+AEC·cos(A)+
AS2A·sin(2A)·ctg(Z)+AC2AAOFF·cos(2A)·ctg(Z)+
AS3A·sin(3A)·ctg(Z)+AC3AAOFF·cos(3A)·ctg(Z)+
AOFF
Δzd=ZAN·cos(A)+ZAE·sin(A)+
ZES·sin(Z)+ZEC·cos(Z)+
ZS2A·sin(2A)+ZC2A·cos(2A)+
ZS3A·sin(3A)+ZC3A·cos(3A)+
ZS4A·sin(4A)+ZC4A·cos(4A)+
C5/sin(Z)+ZOFF
Note that the pilar model is using the
zenith distance instead of the more standard elevation (Z=90-El).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAPPING
public static final Map<String,Double> MAPPING
- Mapping of parameter names to values.
PointingFunction.ExtendedModel
public PointingFunction.ExtendedModel()
getModelName
public String getModelName()
- Returns the name of this model. This is used in querying the
parameters from Pilar.
- Specified by:
getModelName in class PointingFunction
getParameterNames
public Set<String> getParameterNames()
- Returns the parameter names as known by pilar.
- Specified by:
getParameterNames in class PointingFunction
setParameter
public boolean setParameter(String name,
double value)
- Sets a given parameter to a certain value.
- Specified by:
setParameter in class PointingFunction
- Returns:
- True, if the parameter is found.
evaluate
public VectorG evaluate(VectorG nautz)
- The classic pointing model expects the nautic azimuth in the first
argument and the zenith distance in the second, both in degrees.
It returns the
correction (pointing_true=argument+return_value) to the nautic
azimuth in the first argument and the correction to zenith
distance in the second.
- Parameters:
nautz - Two-dim vector with nautic azimuth and zenith distance
in degrees.
- Returns:
- Correction to pointing in Pilar units, normally degrees.