public class NightOptimalAirmassMerit extends AbstractMerit
| Modifier and Type | Field and Description |
|---|---|
private static String |
DEFAIRMASS
Default tau parameter name.
|
private static double |
DEFAIRMASSFWHM
Default 20% safety.
|
private static String |
DEFDECLINATION
Default airmass parameter name.
|
private static String |
DEFLATITUDE
Default airmass parameter name.
|
private static String |
DEFMERIDIAN
Default tau parameter name.
|
private static double |
DEFSAFETY
Default 20% safety.
|
private static String |
DEFSUNHEIGHT
Default sun height parameter name.
|
private static double |
DEFSUNRISE
Default value for the fwmh of the merit in hours.
|
static String |
KEY_AIRMASS
The key pointing to the name of the tau parameter.
|
static String |
KEY_AIRMASSFWHM
The key pointing to the name of the tau parameter.
|
static String |
KEY_DECLINATION
The key pointing to the name of the airmass parameter.
|
static String |
KEY_LATITUDE
The key pointing to the name of the airmass parameter.
|
static String |
KEY_MERIDIAN
The key pointing to the name of the tau parameter.
|
static String |
KEY_SAFETY
The key linked to a safety factor for voting yes.
|
static String |
KEY_SUNHEIGHT
The key pointing to the name of the tau parameter.
|
static String |
KEY_SUNRISE
The key linked to the steepness of the meridian merit.
|
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Constructor and Description |
|---|
NightOptimalAirmassMerit(Map<String,String> prop)
Constructs a new night optimal merit, defaulting parameter names.
|
| Modifier and Type | Method and Description |
|---|---|
private double |
getAirmassMerit(GlobalGrouping set,
double airmass,
Appointable target) |
double |
getMerit(GlobalGrouping set,
Appointable target,
Collection<Appointable> ignore,
long span)
Calculates the actual gain using the
|
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_SUNRISE
public static final String KEY_AIRMASSFWHM
public static final String KEY_SAFETY
public static final String KEY_MERIDIAN
public static final String KEY_SUNHEIGHT
public static final String KEY_AIRMASS
public static final String KEY_DECLINATION
public static final String KEY_LATITUDE
private static final double DEFSUNRISE
private static final double DEFSAFETY
private static final double DEFAIRMASSFWHM
private static final String DEFMERIDIAN
private static final String DEFAIRMASS
private static final String DEFSUNHEIGHT
private static final String DEFDECLINATION
private static final String DEFLATITUDE
public double getMerit(GlobalGrouping set, Appointable target, Collection<Appointable> ignore, long span)
set - Current observing conditions.target - The actual target.ignore - All targets, observable or not.span - The relevant time span in ms.private double getAirmassMerit(GlobalGrouping set, double airmass, Appointable target)