public abstract class AbstractFocussingUnit extends AncillaryCameraUnit implements Focussing
AdapterUnit that can handle auto
focussing. It is irrelevant whether this is done via the telescope or
some other means, the unit task must deliver an instrument in optimal
focus. This is the behaviour, if the adapter receives an
AUTO_FOCUS_ADAPTER. For absolute values of the focus received
with FOCUS_ADAPTER, or relative with FOCUS_OFFSET_ADAPTER,
the behaviour is similar to the FOCUS_TELESCOPE
command. Here, the Focussing.setFocus(double) method directly sets the
focus value, if in an allowed range.
If the master has knowledge of transperency deficiancies, the focus
unit supports setting an increase factor. If the focus value is not
accessible directly in the unit, it may ask the adapter master during
the registering process for a Value carrying thisd information.
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractFocussingUnit.Method |
PropertyResources.Load, PropertyResources.URLResourceKEY_FITSDIR, KEY_XTENSIONKEY_UNITTYPEKEY_NOINITONCREATE, POSTFIX_ALPHABET, POSTFIX_BYTES, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_MODTIME, POSTFIX_URLKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORKEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOMECONFIG, KEY_CLASS| Modifier | Constructor and Description |
|---|---|
protected |
AbstractFocussingUnit(Map<String,String> prop)
No default settings.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
finished()
After a successful focus set
|
protected abstract boolean |
prepare()
Prepare for a focus sequence.
|
binningAndWindow, configureUnit, getAcquisitionExtension, getFitsDirectory, getOneExposure, isManual, reducedFloat, save, save, setManualdefaultGuidingStar, getMaster, getUnitType, init, isValid, isValid, registerGlobals, setMasterclone, 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, rescanned, setObject, setProperties, setProperty, stringProperties, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcoarseFocus, crudeFocus, fineFocus, getFwhm, scanFocus, setFocus, setFocusOffsetdefaultBoolean, 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