public abstract class AuxiliaryCaptureUnit extends AuxiliaryUnit
PropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
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 Star |
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.
|
private AcquireOffsetStub |
measure
This is the parameter where offsets on acquire are suggested.
|
COARSETYPE, FINETYPE, GUIDERTYPE, KEY_BINNING, KEY_FALLBACK, KEY_GUIDERTILE, KEY_USETILING, PINHOLETYPEKEY_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| Modifier | Constructor and Description |
|---|---|
protected |
AuxiliaryCaptureUnit(Map<String,String> prop)
Constructs a new acquire unit.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
applyOffsetMeasure(Object objid,
Vector2D degoff,
Number az,
Number alt) |
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(Star 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 Star |
getGuideStar()
Returns the guide star.
|
protected long |
getMinimumCaptureTime()
Subclasses should return the minimum exposure time applicable to the
auxiliar guider system here.
|
protected AcquireOffsetStub |
getOffsetMeasure() |
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(Star 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.
|
void |
setOffsetMeasure(AcquireOffsetStub measure) |
doAuxiliaryTask, getAuxiliaryType, getBiasFrame, getBiasTime, getBinning, getDarkFrame, getDarkTime, getGuider, getMaster, getReadoutFrame, getTelescope, isManual, isValid, setGuider, setManual, setMaster, 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 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 Star guide
private AcquireOffsetStub measure
private boolean guidecenter
private boolean guidenew
public void init()
throws InitException
init in interface Initializableinit in class AuxiliaryUnitInitExceptionprotected boolean applyOffsetMeasure(Object objid, Vector2D degoff, Number az, Number alt)
protected AcquireOffsetStub getOffsetMeasure()
public void setOffsetMeasure(AcquireOffsetStub measure)
protected void setGuideStar(double ra,
double de,
float mag,
float bv,
boolean central)
protected void setGuideStar(Star parsed, boolean central)
protected Star 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()
getGuideStar(), we calculate pixel positions using
the guider calculus.getFocusPoint in class AuxiliaryUnitprotected long getMinimumCaptureTime()
protected double getCaptureSignal()
protected long getCaptureTime(Star onto)
#getBrightestStar. Then, the exposure time for this star is
calculated. If this again is above the threshold, 0 is returned.