stella.util
Class AuxiliaryPointing

java.lang.Object
  extended by util.PropertyContainer
      extended by stella.util.AuxiliaryPointing
All Implemented Interfaces:
Cloneable, PropertySupplying, VectorFunction

public class AuxiliaryPointing
extends PropertyContainer
implements VectorFunction

Basic pointing model that shows only a dependency of altitude. Model for a differential pointing model between auxiliar and main telescope. The minimum zero point of the elevation the pointing model was derived with is stated in elzero. Thus, trigonomertic functions are normalized to the mean of the observable cap via the definite integral 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.


Field Summary
private static double DEFAOFF
          Azimuth offset, in good alignment zero.
private static double DEFEES
          Default zero.
private static double DEFELZERO
          Default height in degrees.
private static double DEFEOFF
          altitude offset, in good alignment zero.
private static double DEFTF
          Default zero.
private  double fcose
          Normalization factor for the cosine function.
private  double fsine
          Normalization factor for the sine function.
static String KEY_AOFF
          Azimuth offset, in good alignment zero.
static String KEY_EES
          The coefficient for sin(h), the only relevant parameter in the x-cor.
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_TF
          Tube flexure, the only relevant parameter for the y-correction.
 
Fields inherited from class util.PropertyContainer
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATOR
 
Fields inherited from interface util.PropertySupplying
CONFIG, KEY_CLASS
 
Constructor Summary
AuxiliaryPointing(Map<String,String> prop)
          Defaults all but the tube flexure.
 
Method Summary
 int argumentDimension()
          We act on az/alt, thus we return 2 here.
 VectorG evaluate(VectorG nautz)
          Retruns a Vector2D, x as azimuth, normally zero and y altitude pm, defined by the tube flexure.
 int functionDimension()
          The default implementation returns two corrections one fror az and alt.
 
Methods inherited from class util.PropertyContainer
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, init, isNew, parseObject, reload, reload, removeProperty, rescanned, setObject, setProperties, setProperty, stringProperties, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

KEY_AOFF

public static final String KEY_AOFF
Azimuth offset, in good alignment zero.

See Also:
Constant Field Values

KEY_EOFF

public static final String KEY_EOFF
Altitude offset, in good alignment zero.

See Also:
Constant Field Values

KEY_EES

public static final String KEY_EES
The coefficient for sin(h), the only relevant parameter in the x-cor.

See Also:
Constant Field Values

KEY_TF

public static final String KEY_TF
Tube flexure, the only relevant parameter for the y-correction.

See Also:
Constant Field Values

KEY_ELZERO

public static final String KEY_ELZERO
The lower limit in elevation the pointing model was produced.

See Also:
Constant Field Values

DEFAOFF

private static final double DEFAOFF
Azimuth offset, in good alignment zero.

See Also:
Constant Field Values

DEFEOFF

private static final double DEFEOFF
altitude offset, in good alignment zero.

See Also:
Constant Field Values

DEFELZERO

private static final double DEFELZERO
Default height in degrees.

See Also:
Constant Field Values

DEFEES

private static final double DEFEES
Default zero.

See Also:
Constant Field Values

DEFTF

private static final double DEFTF
Default zero.

See Also:
Constant Field Values

fsine

private double fsine
Normalization factor for the sine function.


fcose

private double fcose
Normalization factor for the cosine function.

Constructor Detail

AuxiliaryPointing

public AuxiliaryPointing(Map<String,String> prop)
Defaults all but the tube flexure.

Method Detail

argumentDimension

public int argumentDimension()
We act on az/alt, thus we return 2 here.

Specified by:
argumentDimension in interface VectorFunction

functionDimension

public int functionDimension()
The default implementation returns two corrections one fror az and alt. Subclasses may include derotator and dome offsets.

Specified by:
functionDimension in interface VectorFunction

evaluate

public VectorG evaluate(VectorG nautz)
Retruns a Vector2D, x as azimuth, normally zero and y altitude pm, defined by the tube flexure. All parameters, also the arguments are expected in degrees.

Specified by:
evaluate in interface VectorFunction