public class OppositionMerit extends AbstractMerit
KEY_AROUNDDAY key, that points to a duration in days.
This merit is only active if the number of successful observations of the
target is zero, otherwise one is returned. It is used to start the
observation of Doppler imaging targets close to their opposition.| Modifier and Type | Field and Description |
|---|---|
private static double |
DEFAROUNDDAY
Default value for the priority stretch.
|
private static double |
DEFPROGRAMDAY
Default value for the priority impact.
|
private static String |
DEFSOLOPPOSITION
Default airmass parameter name.
|
private static String |
DEFTIME
Default time parameter name.
|
static String |
KEY_AROUNDDAY
The time around oposition when the merit drops to 1/2.
|
static String |
KEY_PROGRAMDAY
The key linked to the duration of the program in days.
|
static String |
KEY_SOLOPPOSITION
The key pointing to the name of the opposition parameter.
|
static String |
KEY_TIME
The key pointing to the current time.
|
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Constructor and Description |
|---|
OppositionMerit(Map prop)
Constructs a new opposition merit.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getMerit(GlobalGrouping set,
Appointable target,
Collection ignore,
long span)
Calculates the actual gain using the airmass of 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_PROGRAMDAY
public static final String KEY_AROUNDDAY
public static final String KEY_SOLOPPOSITION
public static final String KEY_TIME
private static final double DEFPROGRAMDAY
private static final double DEFAROUNDDAY
private static final String DEFSOLOPPOSITION
private static final String DEFTIME
public OppositionMerit(Map prop)
AbstractMerit.createMerit(java.util.Map<java.lang.String, java.lang.String>)
method.public double getMerit(GlobalGrouping set, Appointable target, Collection ignore, long span)
#KEY_SUNRISE parameter.set - Current observing conditions.target - The actual target.ignore - All targets, observable or not.span - The relevant time span in ms.