public class SouthMerit extends AbstractMerit
KEY_IMPACT factor and a KEY_STEEPNESS.
The exact formular is:
gain(t) = w*exp(-tau^2/s^s)Here, w is the {link #KEY_IMPACT} factor and s is the
KEY_STEEPNESS. The tau to the target must be provided in the
parameter set handed over.| Modifier and Type | Field and Description |
|---|---|
private static double |
DEFIMPACT
Default value for the priority impact.
|
private static String |
DEFMERIDIAN
Default airmass parameter name.
|
private static double |
DEFSTEEPNESS
Default value for the fwmh of the merit in hours.
|
private static double |
FWHM
Translates degrees into normalized gauss variables.
|
static String |
KEY_IMPACT
The key linked to the impact of the meridian merit.
|
static String |
KEY_MERIDIAN
The key pointing to the name of the tau parameter.
|
static String |
KEY_STEEPNESS
The key linked to the steepness of the meridian merit.
|
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Constructor and Description |
|---|
SouthMerit(Map prop)
Constructs a new airmass merit, defaulting the
KEY_IMPACT and
the KEY_STEEPNESS parameters. |
| 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_IMPACT
public static final String KEY_STEEPNESS
public static final String KEY_MERIDIAN
private static final double DEFIMPACT
private static final double DEFSTEEPNESS
private static final String DEFMERIDIAN
private static final double FWHM
public SouthMerit(Map prop)
KEY_IMPACT and
the KEY_STEEPNESS parameters. Proper creation should be
done using the
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 span)
KEY_STEEPNESS parameter.set - Current observing conditions.target - The actual target.ignore - All targets, observable or not.span - The relevant time span in ms.