|
||||||||||
| 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.AuxiliaryUnit
stella.adapter.AuxiliaryCaptureUnit
public abstract class AuxiliaryCaptureUnit
The adapter sub-unit that does acquiring on a target star. This class splits further into a coarse and a fine acquire, this class only defines methods needed in both.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class util.PropertyResources |
|---|
PropertyResources.URLResource |
| Field Summary | |
|---|---|
private static double |
DEFMAGERROR
An estimate of the mgnitude error. |
private static long |
DEFMINOFFTIME
Default minimum readout time, constatn offset in ms. |
private static double |
DEFMINTIME
Default minimum readout time per squre pixel. |
private static double |
DEFPOSITIONERROR
An estimate of the catalog errors in pixels on ccd. |
private static boolean |
DEFUSECENTRAL
Default use of central source. |
private StarDescription |
guide
This star is set with a set-guide command or overruled with acquire. |
private boolean |
guidecenter
If the guide star is at the center, this is true. |
private boolean |
guidenew
This logger boolean gets true when a new guide star was set. |
static String |
KEY_DATAMAX
A default data maximum value for star detection. |
static String |
KEY_DATAMIN
A default data minimum value for star detection. |
static String |
KEY_EXPOSE
Signal to noise wanted on acquire. |
static String |
KEY_KEEPFITS
If true, all acquire fits are kept on disc. |
static String |
KEY_KEEPWHAT
An integer specifying which acquire fits to keep. |
static String |
KEY_MAGERROR
An estimate of the magnitude errors. |
static String |
KEY_MINOFFTIME
Minimum exposure time constant offset in ms. |
static String |
KEY_MINTIME
Minimum exposure time per pixel read in ms. |
static String |
KEY_POSITIONERROR
An estimate of the catalog errors in pixels on ccd. |
static String |
KEY_ROWTIMING
Row read-out time for bright strip detection. |
static String |
KEY_SAFETYOFFSET
The expected maximum distance of target to pinhole after pointing. |
static String |
KEY_SEARCHBOX
A search box for star detection, unbinned. |
static String |
KEY_USECENTRAL
On-axis instrument like spectrographs should deliver true here. |
| Fields inherited from class stella.adapter.AuxiliaryUnit |
|---|
COARSETYPE, FINETYPE, GUIDERTYPE, KEY_FALLBACK, KEY_GUIDERTILE, PINHOLETYPE |
| 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 | |
|---|---|
protected |
AuxiliaryCaptureUnit(Map<String,String> prop)
Constructs a new acquire unit. |
| Method Summary | |
|---|---|
protected boolean |
canUseCentral()
This method returns true if we should and can use the central star. |
protected double |
getCaptureSignal()
Subclasses that have more than a single target S/N must intervene here, the default implementation returns its property value. |
protected long |
getCaptureTime(StarDescription onto)
Calculates the exposure time that should be used for the guider ccd. |
protected Point2D |
getFocusPoint()
For acquire or guiding, the focus of interest is always a pixel on the ccd close to the star that is used for acquiring and guiding. |
protected StarDescription |
getGuideStar()
Returns the guide star. |
protected long |
getMinimumCaptureTime()
Subclasses should return the minimum exposure time applicable to the auxiliar guider system here. |
void |
init()
On init, we check if all quantities that have keys are there. |
protected boolean |
isGuideCenter()
Returns true, if the guide star is also at the center of the FoV. |
protected boolean |
isUseCentral()
If this returns true, acquiring on the main star and acquiring on the center of rotation (the optical axis) is desirable, even if this is not the brightest star in the fov. |
protected void |
setGuideStar(double ra,
double de,
float mag,
float bv,
boolean central)
The acquire command carries the right ascension and declination as well as the magnitude and a possible color index of the central target star. |
protected void |
setGuideStar(StarDescription parsed,
boolean central)
The acquire command carries the right ascension and declination as well as the magnitude and a possible color index of the central target star. |
| Methods inherited from class stella.adapter.AuxiliaryUnit |
|---|
doAuxiliaryTask, getAuxiliaryType, getBiasFrame, getBiasTime, getBinning, getDarkFrame, getDarkTime, getGuider, getMaster, getReadoutFrame, getTelescope, isManual, isValid, setGuider, setManual, setMaster, 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, 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 |
| Field Detail |
|---|
public static final String KEY_KEEPFITS
public static final String KEY_KEEPWHAT
public static final String KEY_EXPOSE
public static final String KEY_ROWTIMING
public static final String KEY_MINOFFTIME
public static final String KEY_MINTIME
public static final String KEY_DATAMIN
public static final String KEY_DATAMAX
public static final String KEY_SEARCHBOX
public static final String KEY_POSITIONERROR
public static final String KEY_MAGERROR
public static final String KEY_USECENTRAL
public static final String KEY_SAFETYOFFSET
private static final double DEFPOSITIONERROR
private static final double DEFMAGERROR
private static final boolean DEFUSECENTRAL
private static final double DEFMINTIME
private static final long DEFMINOFFTIME
private StarDescription guide
private boolean guidecenter
private boolean guidenew
| Constructor Detail |
|---|
protected AuxiliaryCaptureUnit(Map<String,String> prop)
| Method Detail |
|---|
public void init()
init in interface Initializableinit in class PropertyResources
protected void setGuideStar(double ra,
double de,
float mag,
float bv,
boolean central)
protected void setGuideStar(StarDescription parsed,
boolean central)
protected StarDescription getGuideStar()
protected boolean isGuideCenter()
protected boolean isUseCentral()
protected boolean canUseCentral()
isUseCentral() must return true and, second, the
exposure time required on the central star must be smaller than
the maximum exposure time on the guider.
protected Point2D getFocusPoint()
#getFocusStar, we calculate pixel
positions using the guider calculus.
getFocusPoint in class AuxiliaryUnitprotected long getMinimumCaptureTime()
protected double getCaptureSignal()
protected long getCaptureTime(StarDescription onto)
#getBrightestStar. Then, the exposure time for
this star is calculated. If this again is above the threshold, 0
is returned.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||