public class MiddayMerit extends AbstractMerit
KEY_SHARP. If tau is further of than KEY_RISE, zero is
returned.| Modifier and Type | Field and Description |
|---|---|
private static double |
DEFRISE
Default rise time, 15 degrees or one hour.
|
private static double |
DEFSHARP
Default sharp time, 15 degrees or one hour.
|
private static String |
DEFSIDEREAL
The default name of the sidereal parameter to use.
|
private static String |
DEFSOLRA
The default name of the solar right ascension to use.
|
static String |
KEY_RISE
The key linked to the time merit rises from zero to peak.
|
static String |
KEY_SHARP
The sharpness of the rise, i.e.
|
static String |
KEY_SIDEREAL
The name of the sidereal time to use.
|
static String |
KEY_SOLRA
The name of the solar right ascension to use.
|
private static long |
serialVersionUID |
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Constructor and Description |
|---|
MiddayMerit(Map prop)
Constructs a new window merit using only default weights and impacts.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getMerit(GlobalGrouping set,
Appointable target,
Collection ignore,
long duration)
Calculates the window merit stemming from the target definition.
|
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, toStringprivate static final long serialVersionUID
public static final String KEY_RISE
public static final String KEY_SHARP
public static final String KEY_SIDEREAL
public static final String KEY_SOLRA
private static final double DEFRISE
private static final double DEFSHARP
private static final String DEFSIDEREAL
private static final String DEFSOLRA
public MiddayMerit(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 duration)
set - Current observing conditions.target - The actual target.ignore - All targets, observable or not.duration - The relevant time span in ms.