public class AuxiliaryCoarseUnit extends AuxiliaryCaptureUnit
PropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
private static double |
DEFBINARYMAG
A companion may be fainter by this mag to still trigger proximity.
|
private static double |
DEFBINARYSEPARATE
A companion must be closer (degs) to trigger proximity.
|
private static double |
DEFBINARYTIME
Time factorial increase in proximity.
|
private static int |
DEFDATAMAX
The default data max for 'good' filtered pixels.
|
private static int |
DEFDATAMIN
The default data min for 'good' filtered pixels.
|
private static Dimension |
DEFENLARGECOARSE
The default pixel enlargement during acquire.
|
private static double |
DEFEXPOSE
The default S/N on acquire.
|
private static int |
DEFGUIDERTILE
The default acquire frame.
|
private static boolean |
DEFKEEPFITS
If true, all acquire fits are kept on disc.
|
private static int |
DEFKEEPWHAT
An integer specifying which acquire fits to keep.
|
private static double |
DEFMAXDITHERSHIFT |
private static long |
DEFMINOFFTIME
Minimum exposure time on acquire in ms.
|
private static double |
DEFRESOLUTIONLIMIT
A companion must be closer (degs) to trigger proximity.
|
private static int |
DEFRETRYCOARSE
The default number of retries on acquire.
|
private static long |
DEFROWTIMING
Read out time for a single row, acquire frame in mu-seconds.
|
private static Dimension |
DEFSAFETYOFFSET
An estimate of the allowed pointing error in az/alt PIXEL.
|
private static int |
DEFSEARCHBOX
The default search box, unbiased.
|
private static double |
DEFTIMEINCREASE
The default time increase if no stars have been found.
|
private double |
increase
If the acquire exposure time was increased, this is the final factor.
|
static String |
KEY_BINARYMAG
A companion may be fainter by this mag to still trigger proximity.
|
static String |
KEY_BINARYSEPARATE
A companion must be closer (degs) to trigger proximity.
|
static String |
KEY_BINARYTIME
Time factorial increase in proximity.
|
static String |
KEY_ENLARGECOARSE
A gray-zone around the acquire field for catalog star inclusion.
|
private static String |
KEY_MAXDITHERSHIFT
If the applied dither is higher than this shift, also repos tel.
|
static String |
KEY_RESOLUTIONLIMIT
A companion closer (degs) cannot be resolved.
|
static String |
KEY_RETRYCOARSE
Maximum retries on coarse acquire.
|
static String |
KEY_TIMEINCREASE
Increase the exposure time on coarse acquire fails.
|
static String |
SUGGEST
This mode is the suggest mode, where the offset is not applied.
|
KEY_DATAMAX, KEY_DATAMIN, KEY_EXPOSE, KEY_KEEPFITS, KEY_KEEPWHAT, KEY_MAGERROR, KEY_MINOFFTIME, KEY_MINTIME, KEY_POSITIONERROR, KEY_ROWTIMING, KEY_SAFETYOFFSET, KEY_SEARCHBOX, KEY_USECENTRALCOARSETYPE, 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| Constructor and Description |
|---|
AuxiliaryCoarseUnit(Map<String,String> prop)
Constructs a new acquire unit.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
databaseOffset(Object objid,
Vector2D degoff)
We try to write a valid offset to the database using the current unique
parameter and the first offset encountered.
|
protected ErrorEvent |
doAuxiliaryTask(String suggest)
Brings the acquire star at the cross-hair of the guider.
|
protected String |
getAuxiliaryType()
The type of this unit is
AuxiliaryUnit.COARSETYPE. |
protected double |
getIncrease()
If acquire failed within its tries because of no-star detected, retrieve
the last time-increase factor.
|
private Pair<Vector2D,Boolean> |
oneExposure(Object objid,
long acquireexpose,
long acquireraw,
double twininc,
int datamin,
int curacq)
For the unique object objid we do an exposure with acquireexpose ms,
first estimate was acquireraw.
|
applyOffsetMeasure, canUseCentral, getCaptureSignal, getCaptureTime, getFocusPoint, getGuideStar, getMinimumCaptureTime, getOffsetMeasure, init, isGuideCenter, isUseCentral, setGuideStar, setGuideStar, setOffsetMeasuregetBiasFrame, 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 SUGGEST
public static final String KEY_TIMEINCREASE
public static final String KEY_RETRYCOARSE
public static final String KEY_ENLARGECOARSE
private static final String KEY_MAXDITHERSHIFT
public static final String KEY_BINARYMAG
public static final String KEY_RESOLUTIONLIMIT
public static final String KEY_BINARYSEPARATE
public static final String KEY_BINARYTIME
private static final boolean DEFKEEPFITS
private static final int DEFKEEPWHAT
private static final long DEFROWTIMING
private static final double DEFEXPOSE
private static final double DEFMAXDITHERSHIFT
private static final long DEFMINOFFTIME
private static final int DEFDATAMIN
private static final int DEFDATAMAX
private static final int DEFSEARCHBOX
private static final double DEFTIMEINCREASE
private static final int DEFRETRYCOARSE
private static final int DEFGUIDERTILE
private static final Dimension DEFENLARGECOARSE
private static final Dimension DEFSAFETYOFFSET
private static final double DEFBINARYMAG
private static final double DEFRESOLUTIONLIMIT
private static final double DEFBINARYSEPARATE
private static final double DEFBINARYTIME
private double increase
protected String getAuxiliaryType()
AuxiliaryUnit.COARSETYPE.getAuxiliaryType in class AuxiliaryUnitprotected ErrorEvent doAuxiliaryTask(String suggest)
doAuxiliaryTask in class AuxiliaryUnitsuggest - An integer specifying the action to be taken.private Pair<Vector2D,Boolean> oneExposure(Object objid, long acquireexpose, long acquireraw, double twininc, int datamin, int curacq) throws IllegalWindowException, IllegalSearchBoxException, AmbiguousPatternException, NoStarException, CannotMatchException
objid - Uniqueacquireexpose - The exposure time to useacquireraw - The exposure time first estimatedtwininc - Increase of exposure time due to twincuracq - Running number in tries.IllegalSearchBoxExceptionIllegalWindowExceptionCannotMatchExceptionNoStarExceptionAmbiguousPatternExceptionprotected double getIncrease()
AuxiliarUnits.