public class MirrorFocus extends FocussingMoments
PyramidUnit.FocussingMoments.ZernikePropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
private static double |
DEFALTSHIFT
Shift the image by 30 pixel to avoid obsuration by the pinhole.
|
static String |
DEFFOCUSMODEL
The default name of the focus parameter.
|
private static double |
DEFFOCUSOFFSET
Default focusoffset fine.
|
private static long |
DEFMAXFOCUSEXPOSE
The maximum exposure time for true moment analysis.
|
private static double |
DEFMAXIMUMFOCUS
Soft limit for minimum focus (hard at 89.).
|
private static double |
DEFMINIMUMFOCUS
Soft limit for minimum focus (hard at 0.).
|
private static double |
DEFSEARCHOFFSET
Default focusoffset on step, where we search a coarse focus.
|
static String |
KEY_ALTSHIFT
Points to the offset to apply to altitude before focusing.
|
static String |
KEY_FOCUSMODEL
The focus of the telescope as a parameter.
|
static String |
KEY_MAXIMUMFOCUS
The minimum focus we allow with this method.
|
static String |
KEY_MINIMUMFOCUS
The minimum focus we allow with this method.
|
static String |
MIRRORTYPE
Id for prime focus coarse.
|
private Value |
tempfocus
For coarse focusing, we need the environemt focus.
|
EXTRAFOCAL, INTRAFOCAL, KEY_A4ERROR, KEY_A4SLOPE, KEY_ADUSIZE, KEY_BLOBFRAME, KEY_BLOBSIZE, KEY_COARSEACCEPT, KEY_DOSAVE, KEY_DOSEARCH, KEY_ERRORCRUDE, KEY_EXPOSEFOCUS, KEY_FOCUSBINNING, KEY_FOCUSFRAME, KEY_FOCUSOFFSET, KEY_FOCUSORDER, KEY_FWHMMEASURE, KEY_FWHMSIZE, KEY_HIGHSKYSIGMA, KEY_LOWSKYSIGMA, KEY_MAXFOCUSEXPOSE, KEY_MEDIANSKY, KEY_MOMENTS, KEY_MOMENTSFRAME, KEY_SEARCHOFFSET, KEY_SEARCHORDER, KEY_SEARCHSTEPS, KEY_SKYFRAME, KEY_ZERNIKEACCEPT, KEY_ZERNIKESTEP, KEY_ZEXPOSE, SEARCHincreaseACQUIRETYPE, GUIDERTYPE, PYRAMIDTYPEKEY_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| Constructor and Description |
|---|
MirrorFocus(Map<String,String> prop)
Constructs a new focussing unit.
|
| Modifier and Type | Method and Description |
|---|---|
protected ErrorEvent |
doUnitTask(String mode)
Task of this unit is to auto focus after a successful acquire.
|
protected double |
getCrudeFocus()
We position the linear sledge at the temperature model focus.
|
double |
getMaximumFocus()
Returns the maximum focus step this unit can reach, which is
step 31400 something.
|
double |
getMinimumFocus()
Returns the minimum focus step this unit can reach, which is step 0.
|
protected String |
getUnitType()
The type of this unit is equal to
AdapterUnit.PYRAMIDTYPE. |
protected boolean |
setFocus(double mm)
Sets the focus position on the telescope as an absolute mm value.
|
protected boolean |
setFocusOffset(double mm)
Sets the focus position on the telescope as an absolute mm value.
|
protected void |
setMaster(AdapterMaster chef)
Sets the adapter master.
|
doFocusTask, isValid, setAbortsetIncreasegetGuider, getMaster, getTelescope, init, isManual, resetUnit, setGuider, setManual, setTelescopeclone, 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, 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, stringPropertiespublic static final String MIRRORTYPE
public static final String KEY_FOCUSMODEL
public static final String KEY_MINIMUMFOCUS
public static final String KEY_MAXIMUMFOCUS
public static final String KEY_ALTSHIFT
public static final String DEFFOCUSMODEL
private static final double DEFMAXIMUMFOCUS
private static final double DEFMINIMUMFOCUS
private static final double DEFFOCUSOFFSET
private static final double DEFSEARCHOFFSET
private static final double DEFALTSHIFT
private static final long DEFMAXFOCUSEXPOSE
private Value tempfocus
public double getMinimumFocus()
getMinimumFocus in class FocussingMomentspublic double getMaximumFocus()
getMaximumFocus in class FocussingMomentsprotected String getUnitType()
AdapterUnit.PYRAMIDTYPE.getUnitType in class AdapterUnitprotected void setMaster(AdapterMaster chef)
setMaster in class FocussingMomentsprotected ErrorEvent doUnitTask(String mode)
FocussingMoments.doFocusTask(java.lang.String)doUnitTask in class AdapterUnitmode - If the unit supports more than a single mode, otherwise nullprotected double getCrudeFocus()
getCrudeFocus in class FocussingMomentsprotected boolean setFocus(double mm)
setFocus in class FocussingUnitprotected boolean setFocusOffset(double mm)
setFocusOffset in class FocussingUnit