stella.ccd
Class WifsipMaster.WifsipGeometry
java.lang.Object
util.PropertyContainer
util.PropertyResources
util.PropertyBundles
stella.ccd.WifsipMaster.WifsipGeometry
- All Implemented Interfaces:
- Cloneable, MomentsGeometric, Initializable, LocalizedSupplying, PropertySupplying, ResourceSupplying
- Enclosing class:
- WifsipMaster
public static class WifsipMaster.WifsipGeometry
- extends PropertyBundles
- implements MomentsGeometric
Default conversion of focus star position to readout frame on CCD.
|
Method Summary |
private void |
calc(int xc,
int yc)
|
Rectangle |
getBox(int xpix,
int ypix)
Returns the rectangle that defines the readout-area on a ccd
from the focus star position for the Wifsip geometry. |
int |
getExtension(int xpix,
int ypix)
Returns the extension the moment focusser should use. |
Rectangle |
getMomentsFrame(int xpix,
int ypix)
Returns the moment frame, which is always the size of the focbox
minus the insets. |
| 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_MOMENTSBOX
public static final String KEY_MOMENTSBOX
- The size of the focus readout box.
- See Also:
- Constant Field Values
KEY_MOMENTSINSET
public static final String KEY_MOMENTSINSET
- The insets of the focus readout box to get to the moments frame.
- See Also:
- Constant Field Values
DEFMOMENTSBOX
private static final Dimension DEFMOMENTSBOX
- Default size of the moments ccd readout.
DEFMOMENTSINSET
private static final Dimension DEFMOMENTSINSET
- Default size of the moments ccd readout.
focbox
private Rectangle focbox
- The focus frame.
focext
private int focext
- The extension the focus frame is in.
WifsipMaster.WifsipGeometry
public WifsipMaster.WifsipGeometry(Map<String,String> prop)
getBox
public Rectangle getBox(int xpix,
int ypix)
- Returns the rectangle that defines the readout-area on a ccd
from the focus star position for the Wifsip geometry.
- Specified by:
getBox in interface MomentsGeometric
getExtension
public int getExtension(int xpix,
int ypix)
- Returns the extension the moment focusser should use. Returns -1 if
close to center.
- Specified by:
getExtension in interface MomentsGeometric
getMomentsFrame
public Rectangle getMomentsFrame(int xpix,
int ypix)
- Returns the moment frame, which is always the size of the focbox
minus the insets.
- Specified by:
getMomentsFrame in interface MomentsGeometric
calc
private void calc(int xc,
int yc)