stella.util
Class PointingFunction.ClassicModel
java.lang.Object
stella.util.PointingFunction
stella.util.PointingFunction.ClassicModel
- All Implemented Interfaces:
- VectorFunction
- Enclosing class:
- PointingFunction
public static class PointingFunction.ClassicModel
- extends PointingFunction
The classical pointing model. According to OpenTSI 1.0 it reads as
follows:
Δaz=-AN·sin(A)·ctg(Z)+AE·cos(A)·ctg(Z)
+NPAE·ctg(Z)-BNP/sin(Z)+AOFF
Δzd=AN·cos(A)+AE·sin(A)+TF·sin(Z)+ZOFF
Note that the original document had a sign error in the ezimuth model
on AN and AE. Note also 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.ClassicModel
public PointingFunction.ClassicModel()
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.