public class FwhmAdapter extends AbstractValue implements ErrorDependingParameter, Reloadable
AdapterFwhm status messages
to derive the reported star fwhm (in arcseconds) out of it. This can be
used as a crude seeing estimate.PropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
static String |
DEFNAME
The default name of the adapter flux.
|
private Double |
fwhm
The current fwhm reported.
|
KEY_FORMAT, KEY_NAME, KEY_PRESERVE, UNKNOWNKEY_NOINITONCREATE, POSTFIX_ALPHABET, POSTFIX_BYTES, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_MODTIME, POSTFIX_URLKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORNAMING_EXTENSIONCONFIG, KEY_CLASSKEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME| Constructor and Description |
|---|
FwhmAdapter(Map<String,String> prop)
Constructs a new adapter fwhm value.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getForError(ErrorEvent ee)
Scans the
AdapterFwhm for the fwhm and returns it as a
Double object |
Number |
getValue()
Gets the last reported fwhm of a star image obtained during centering
or guiding on the adapter.
|
void |
registerError(ErrorEvent ee)
Registers this adapter fwhm event to the parameter.
|
double |
rescanned(String key,
String old,
String newval)
Makes this method public, no further changes.
|
Number |
setValue(Number newval)
Sets the fwhm of the star image.
|
get, setcreateParameter, delivers, exit, getFormatted, getFormatted, getName, getPreserveFile, getString, getString, init, overrideDefaultName, register, setName, toStringclone, createFrom, createFrom, createFrom, createInstance, getApplet, getAsResources, getLocate, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, hasLocalURLs, initProperties, keyCreate, keyCreate, reload, setAppletaugment, augment, 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, parseObject, reload, removeProperty, requires, setObject, setProperties, setProperty, stringPropertiesequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdefaultBoolean, 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, stringPropertiesinitreloadpublic static final String DEFNAME
private Double fwhm
public double rescanned(String key, String old, String newval)
rescanned in interface Reloadablerescanned in class AbstractParameterpublic Object getForError(ErrorEvent ee)
AdapterFwhm for the fwhm and returns it as a
Double objectgetForError in interface ErrorDependingParameterpublic void registerError(ErrorEvent ee)
registerError in interface ErrorDependingParameterpublic Number getValue()
AdapterFwhm object. It should be given in
arcseconds.