stella.xml
Class MidnightMerit
java.lang.Object
util.PropertyContainer
util.PropertyResources
util.PropertyBundles
stella.AbstractMerit
stella.xml.MidnightMerit
- All Implemented Interfaces:
- Serializable, Cloneable, Meriting, Initializable, LocalizedSupplying, PropertySupplying, ResourceSupplying
public class MidnightMerit
- extends AbstractMerit
A merit that is peaks around the true midnight, i.e. if tau of sun is
180ˆ. It centers at that time with fwhm defined with
KEY_SHARP. If tau is further of than KEY_RISE, zero is
returned.
- See Also:
- Serialized Form
|
Field Summary |
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. |
|
Constructor Summary |
MidnightMerit(Map prop)
Constructs a new window merit using only default weights and impacts. |
| Methods inherited from class util.PropertyResources |
createFrom, createFrom, createFrom, getApplet, getAsResources, getLocalClassLoader, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, init, keyCreate, keyCreate, reload, setApplet |
| Methods inherited from class util.PropertyContainer |
augment, augment, augment, 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, isNew, parseObject, reload, removeProperty, rescanned, setObject, setProperties, setProperty, stringProperties, toString |
| Methods inherited from interface util.PropertySupplying |
defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringProperties |
KEY_RISE
public static final String KEY_RISE
- The key linked to the time merit rises from zero to peak.
- See Also:
- Constant Field Values
KEY_SHARP
public static final String KEY_SHARP
- The sharpness of the rise, i.e. n .
- See Also:
- Constant Field Values
KEY_SIDEREAL
public static final String KEY_SIDEREAL
- The name of the sidereal time to use.
- See Also:
- Constant Field Values
KEY_SOLRA
public static final String KEY_SOLRA
- The name of the solar right ascension to use.
- See Also:
- Constant Field Values
DEFRISE
private static final double DEFRISE
- Default rise time, 15 degrees or one hour.
- See Also:
- Constant Field Values
DEFSHARP
private static final double DEFSHARP
- Default sharp time, 15 degrees or one hour.
- See Also:
- Constant Field Values
DEFSIDEREAL
private static final String DEFSIDEREAL
- The default name of the sidereal parameter to use.
- See Also:
- Constant Field Values
DEFSOLRA
private static final String DEFSOLRA
- The default name of the solar right ascension to use.
- See Also:
- Constant Field Values
MidnightMerit
public MidnightMerit(Map prop)
- Constructs a new window merit using only default weights and impacts.
The proper way to create a window merit is using the
AbstractMerit.createMerit(java.util.Map)
method. This create method also takes care of proper parameter
overloading.
getMerit
public double getMerit(ParameterClustering set,
TargetDefinition target,
Collection ignore,
long duration)
- Calculates the window merit stemming from the target definition.
- Parameters:
set - Current observing conditions.target - The actual target.ignore - The list of targetes relevant to the actual target.duration - The relevant time span in ms.