|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.PropertyContainer
util.PropertyResources
util.PropertyBundles
stella.adapter.AdapterUnit
stella.adapter.FocussingUnit
stella.adapter.FocussingMoments
stella.adapter.MirrorFocus
public class MirrorFocus
Tries to focus using moments on the mirrored image of the fiber entrance.
Should work to lower light levels than the PyramidUnit.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class util.PropertyResources |
|---|
PropertyResources.URLResource |
| Field Summary | |
|---|---|
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. |
| Fields inherited from class stella.adapter.FocussingMoments |
|---|
EXTRAFOCAL, INTRAFOCAL, KEY_A4ERROR, KEY_A4SLOPE, KEY_ADUSIZE, KEY_BLOBSIZE, KEY_DOSAVE, KEY_DOSEARCH, KEY_ERRORZERNIKE, KEY_EXPOSEFOCUS, KEY_FOCUSBINNING, KEY_FOCUSFRAME, KEY_FOCUSOFFSET, KEY_FOCUSORDER, KEY_HIGHSKYSIGMA, KEY_LOWSKYSIGMA, KEY_MAXFOCUSEXPOSE, KEY_MEDIANSKY, KEY_MOMENTS, KEY_MOMENTSFRAME, KEY_SEARCHOFFSET, KEY_SEARCHORDER, KEY_SEARCHSTEPS, KEY_SKYFRAME, KEY_ZERNIKESTEP, KEY_ZEXPOSE, SEARCH |
| Fields inherited from class stella.adapter.FocussingUnit |
|---|
increase |
| Fields inherited from class stella.adapter.AdapterUnit |
|---|
ACQUIRETYPE, GUIDERTYPE, PYRAMIDTYPE |
| Fields inherited from class util.PropertyBundles |
|---|
KEY_LOCALECOUNTRY, KEY_LOCALELANGUAGE, KEY_RESOURCEBUNDLES |
| Fields inherited from class util.PropertyResources |
|---|
KEY_NOINITONCREATE, localurl, locate, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_URL, urlset |
| Fields inherited from class util.PropertyContainer |
|---|
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATOR |
| Fields inherited from interface util.ResourceSupplying |
|---|
KEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME |
| Fields inherited from interface util.PropertySupplying |
|---|
CONFIG, KEY_CLASS |
| Constructor Summary | |
|---|---|
MirrorFocus(Map<String,String> prop)
Constructs a new focussing unit. |
|
| Method Summary | |
|---|---|
protected double |
crudeFocus()
We position the linear sledge at the temperature model focus. |
protected ErrorEvent |
doUnitTask(String mode)
Task of this unit is to auto focus after a successful acquire. |
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. |
| Methods inherited from class stella.adapter.FocussingMoments |
|---|
doFocusTask, isValid, setAbort |
| Methods inherited from class stella.adapter.FocussingUnit |
|---|
setIncrease |
| Methods inherited from class stella.adapter.AdapterUnit |
|---|
getGuider, getMaster, getTelescope, isManual, resetUnit, setGuider, setManual, setTelescope |
| Methods inherited from class util.PropertyBundles |
|---|
clone, getLocalized, getLocalized, getLocalizedString, getLocalizedString, loadResource |
| 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 class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface util.ResourceSupplying |
|---|
getResource, getResourceAsStream, getResources |
| 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 |
| Methods inherited from interface util.Initializable |
|---|
init |
| Field Detail |
|---|
public 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
| Constructor Detail |
|---|
public MirrorFocus(Map<String,String> prop)
| Method Detail |
|---|
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 null
protected double crudeFocus()
crudeFocus in class FocussingMomentsprotected boolean setFocus(double mm)
setFocus in class FocussingUnitprotected boolean setFocusOffset(double mm)
setFocusOffset in class FocussingUnit
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||