public class PointingModelPivot extends PinholePivot implements GlobalDepending
F_j=∫∫F(az,el)dΩ/∫∫dΩ
where the integral spans
normally 0 to 2*π in azimuth and in height elzero to &pi/2, thus returning
for the denominator
∫∫dΩ = 2*π*(1-sin(elzero);
The nominators for the two trigonometric function
ised in this simple model, i.e. for sin(h) and cos(h) read as
2*π*0.25*(1+cos(2*elzero)) for sin(h)
2*π*(π/4-elzero/2-.025*sin(2*elzero)) for cos(h)
If done properly, no constant coefficients are needed, they are the
rotation center of the guider CCD.| Modifier and Type | Field and Description |
|---|---|
private Value |
az
Value that delivers astronomical azimuth.
|
private static String |
DEFALTITUDE
The default name of the altitude parameter.
|
private static double |
DEFAOFS
Offset in x-direction as cos(h).
|
private static String |
DEFAZIMUTH
The default name of the azimuth parameter.
|
private static double |
DEFBNP
X offset, in good alignment zero.
|
private static double |
DEFELZERO
The lower limit in elevation the pointing model was produced.
|
private static double |
DEFEOFF
Altitude offset, in good alignment zero.
|
private static double |
DEFNPAE
Offset in x as sin(h).
|
private static double |
DEFPHI
Defaults to tenerife.
|
private static double |
DEFTF
Tube flexure, the only relevant parameter for the y-correction.
|
private static double |
DEFTFH
Tube flexure, hooks law for the y-correction.
|
private static double |
DEFXA2C
Offset in x to sin(2*aznaut)
|
private static double |
DEFXA2S
Offset in x to cos(2*aznaut)
|
private static double |
DEFXAE
Offset in x to cos(aznaut)*sin(h).
|
private static double |
DEFXAN
Offset in x to sin(aznaut)*sin(h).
|
private static double |
DEFXPEA
Offset in x to cos(parang).
|
private static double |
DEFXPNA
Offset in x to sin(parang).
|
private static double |
DEFYA2S
The coefficient for sin(2*aznaut).
|
private static double |
DEFYAE
The coefficient for sin(aznaut).
|
private static double |
DEFYAN
The coefficient for cos(aznaut).
|
private static double |
DEFYPEE
Offset in y to sin(parang).
|
private static double |
DEFYPNE
Offset in y to cos(parang).
|
private static double |
DEFYSH
Altitude offset to sin(h).
|
private Value |
el
Value that delivers target height.
|
private double |
fcose
Normalization factor for the cosine function.
|
private double |
fsine
Normalization factor for the sine function.
|
static String |
KEY_ALTITUDE
The height of the target for calculating CCD rotation.
|
static String |
KEY_AOFS
Offset in x-direction as cos(h).
|
static String |
KEY_AZIMUTH
The azimuth of the target for calculating CCD rotation.
|
static String |
KEY_BNP
X offset, in good alignment zero.
|
static String |
KEY_ELZERO
The lower limit in elevation the pointing model was produced.
|
static String |
KEY_EOFF
Altitude offset, in good alignment zero.
|
static String |
KEY_NPAE
Offset in x as sin(h).
|
static String |
KEY_PHI
The latitude of the observatory.
|
static String |
KEY_TF
Tube flexure, the only relevant parameter for the y-correction.
|
static String |
KEY_TFH
Tube flexure, hooks law for the y-correction.
|
static String |
KEY_XA2C
Offset in x to cos(2*aznaut)
|
static String |
KEY_XA2S
Offset in x to sin(2*aznaut)
|
static String |
KEY_XAE
Offset in x to cos(aznaut)*sin(h).
|
static String |
KEY_XAN
Offset in x to sin(aznaut)*sin(h).
|
static String |
KEY_XPEA
Offset in x to cos(parang).
|
static String |
KEY_XPNA
Offset in x to sin(parang).
|
static String |
KEY_YA2S
The coefficient for sin(2*aznaut).
|
static String |
KEY_YAE
The coefficient for sin(aznaut).
|
static String |
KEY_YAN
The coefficient for cos(aznaut).
|
static String |
KEY_YPEE
Offset in y to sin(parang).
|
static String |
KEY_YPNE
Offset in y to cos(parang).
|
static String |
KEY_YSH
Altitude offset to sin(h).
|
private double |
tanphi
Tangens of latitude.
|
KEY_DIRECTPINHOLEKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Constructor and Description |
|---|
PointingModelPivot(Map<String,String> prop)
Defaults all but the tube flexure.
|
| Modifier and Type | Method and Description |
|---|---|
Point2D |
getPivotalPoint()
Returns the pixel on the acquisition CCD that is the pivotal point, or,
which supplies the acquisition center.
|
void |
init() |
private Vector2D |
pointingModel(Vector2D nautz)
Returns a Vector2D, x as pixel offset in x, y as pixel offset in y
|
void |
registerGlobals(GlobalGrouping set)
We grab the parameters for azimuth, altitude and the parallactic angle.
|
setPivotalOffsetaugment, augment, augment, augment, augment, clone, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, initProperties, isNew, parseObject, parseObject, reload, reload, removeProperty, requires, rescanned, setObject, setProperties, setProperty, stringProperties, toStringpublic static final String KEY_AZIMUTH
public static final String KEY_ALTITUDE
public static final String KEY_BNP
public static final String KEY_AOFS
public static final String KEY_NPAE
public static final String KEY_XAE
public static final String KEY_XAN
public static final String KEY_XA2S
public static final String KEY_XA2C
public static final String KEY_XPNA
public static final String KEY_XPEA
public static final String KEY_EOFF
public static final String KEY_YSH
public static final String KEY_TF
public static final String KEY_TFH
public static final String KEY_YAE
public static final String KEY_YAN
public static final String KEY_YA2S
public static final String KEY_YPNE
public static final String KEY_YPEE
public static final String KEY_ELZERO
public static final String KEY_PHI
private static final String DEFAZIMUTH
private static final String DEFALTITUDE
private static final double DEFBNP
private static final double DEFAOFS
private static final double DEFNPAE
private static final double DEFXAE
private static final double DEFXAN
private static final double DEFXA2S
private static final double DEFXA2C
private static final double DEFXPNA
private static final double DEFXPEA
private static final double DEFEOFF
private static final double DEFYSH
private static final double DEFTF
private static final double DEFTFH
private static final double DEFYAE
private static final double DEFYAN
private static final double DEFYA2S
private static final double DEFYPNE
private static final double DEFYPEE
private static final double DEFELZERO
private static final double DEFPHI
private Value az
private Value el
private double fsine
private double fcose
private double tanphi
public void init()
init in interface Initializableinit in class PinholePivotpublic void registerGlobals(GlobalGrouping set)
registerGlobals in interface GlobalDependingpublic Point2D getPivotalPoint()
PivotinggetPivotalPoint in interface PivotinggetPivotalPoint in class PinholePivot