public class SlewTimeMerit extends AbstractMerit
KEY_AZSPEED and KEY_ALTSPEED to gain an
expected slewing time. This slewing time t
is then used to calculate a gain according to
gain(t)=k(1+(pt-t)/at).Here, k is the
KEY_WEIGHT factor, pt
is some plateau-time (e.g. the read-out time of the CCD),
KEY_PLATEAU, and at is the abate time,
KEY_ABATE after which the gain drops to zero,
counting from after the plateau-time. Additionally, the gain is limited to
the range between KEY_WEIGHT and zero.AltTelescope, the
AzTelescope, the AltTarget and the AzTarget
parameter.| Modifier and Type | Field and Description |
|---|---|
private static double |
DEFABATE
Default value for the plateu abate time.
|
private static double |
DEFALTSPEED
Default value for the azimuth slewing speed.
|
private static String |
DEFALTTARGET
Default altitude-target parameter name.
|
private static String |
DEFALTTELESCOPE
Default altitude-telescope parameter name.
|
private static double |
DEFAZSPEED
Default value for the azimuth slewing speed.
|
private static String |
DEFAZTARGET
Default azimuth-target parameter name.
|
private static String |
DEFAZTELESCOPE
Default azimuth-telescope parameter name.
|
private static double |
DEFPLATEAU
Default value for the plateu time.
|
private static double |
DEFWEIGHT
Default value for the priority impact.
|
static String |
KEY_ABATE
The time after which the gain drops to zero from the plateau.
|
static String |
KEY_ALTSPEED
The key linked to the altitude slewing speed.
|
static String |
KEY_ALTTARGET
The name of the
AltTarget parameter. |
static String |
KEY_ALTTELESCOPE
The name of the
AltTelescope parameter. |
static String |
KEY_AZSPEED
The key linked to the azimuth slewing speed.
|
static String |
KEY_AZTARGET
The name of the
AzTarget parameter. |
static String |
KEY_AZTELESCOPE
The name of the
AzTelescope parameter. |
static String |
KEY_PLATEAU
The time the gain should stay constant.
|
static String |
KEY_WEIGHT
The key linked to the impact of the slew-tima merit.
|
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Constructor and Description |
|---|
SlewTimeMerit(Map prop)
Constructs a new airmass merit, defaulting all parameters if not
explicetly given.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getMerit(GlobalGrouping set,
Appointable target,
Collection ignore,
long dummy)
Calculates the actual gain using the expected slewing time of the
telescope from its current position to the target.
|
createMerit, getInitializer, initMeritaugment, 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_AZSPEED
public static final String KEY_ALTSPEED
public static final String KEY_WEIGHT
public static final String KEY_PLATEAU
public static final String KEY_ABATE
public static final String KEY_ALTTELESCOPE
AltTelescope parameter.public static final String KEY_AZTELESCOPE
AzTelescope parameter.public static final String KEY_ALTTARGET
AltTarget parameter.public static final String KEY_AZTARGET
AzTarget parameter.private static final double DEFAZSPEED
private static final double DEFALTSPEED
private static final double DEFWEIGHT
private static final double DEFPLATEAU
private static final double DEFABATE
private static final String DEFALTTELESCOPE
private static final String DEFAZTELESCOPE
private static final String DEFALTTARGET
private static final String DEFAZTARGET
public SlewTimeMerit(Map prop)
AbstractMerit.createMerit(java.util.Map<java.lang.String, java.lang.String>)
method. This create method also takes care of proper parameter
overloading.public double getMerit(GlobalGrouping set, Appointable target, Collection ignore, long dummy)
KEY_PLATEAU. If the slewing time exceeds
this time, the gain drops to zero within KEY_ABATE seconds.
It cannot drop below zero. set - Current observing conditions.target - The actual target.ignore - All targets, observable or not.dummy - The relevant time span in ms.