public static class WifsipMaster.WifsipGeometry extends PropertyContainer implements MomentsGeometric
| Modifier and Type | Field and Description |
|---|---|
private static Dimension |
DEFMOMENTSBOX
Default size of the moments ccd readout.
|
private static Dimension |
DEFMOMENTSINSET
Default size of the moments ccd readout.
|
private static int |
DEFVIABLE
Default minimum distance to edge.
|
private Rectangle |
focbox
The focus frame.
|
private int |
focext
The extension the focus frame is in.
|
static String |
KEY_MOMENTSBOX
The size of the focus readout box.
|
static String |
KEY_MOMENTSINSET
The insets of the focus readout box to get to the moments frame.
|
static String |
KEY_VIABLE
The minimum distance to a quadrant edge to be viable.
|
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Constructor and Description |
|---|
WifsipGeometry(Map<String,String> prop) |
| Modifier and Type | Method and Description |
|---|---|
private boolean |
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.
|
boolean |
withinBounds(int xpix,
int ypix)
Returns true, if the requested position appears feasible for placing a
read-out window around it.
|
augment, augment, augment, augment, augment, clone, 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, initProperties, isNew, parseObject, parseObject, reload, reload, removeProperty, requires, rescanned, setObject, setProperties, setProperty, stringProperties, toStringpublic static final String KEY_MOMENTSBOX
public static final String KEY_MOMENTSINSET
public static final String KEY_VIABLE
private static final Dimension DEFMOMENTSBOX
private static final Dimension DEFMOMENTSINSET
private static final int DEFVIABLE
private Rectangle focbox
private int focext
public boolean withinBounds(int xpix,
int ypix)
MomentsGeometricwithinBounds in interface MomentsGeometricpublic Rectangle getBox(int xpix, int ypix)
getBox in interface MomentsGeometricpublic int getExtension(int xpix,
int ypix)
getExtension in interface MomentsGeometricpublic Rectangle getMomentsFrame(int xpix, int ypix)
getMomentsFrame in interface MomentsGeometricprivate boolean calc(int xc,
int yc)