public class NasmythUnit extends AcquiringUnit
PropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
private static Dimension |
DEFACQUIREBINNING
The default binning on acquire.
|
private static File |
DEFBIASCOARSEFITS
The default fits file holding guider bias image data.
|
private static long |
DEFBIASCOARSETIME
The default exposure time in milli seconds of the bias frame.
|
private static File |
DEFBIASFINEFITS
The default fits file holding guider bias image data.
|
private static double |
DEFBIASFINETIME
The default exposure time in milli seconds of the bias frame.
|
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 Rectangle |
DEFCOARSEFRAME
The default acquire frame.
|
private static double |
DEFCOARSEOFFSET
An estimate of the allowed matching failures.
|
private static File |
DEFDARKCOARSEFITS
The default fits file holding guider bias image data.
|
private static long |
DEFDARKCOARSETIME
The default exposure time in milli seconds of the bias frame.
|
private static File |
DEFDARKFINEFITS
The default fits file holding guider bias image data.
|
private static double |
DEFDARKFINETIME
The default exposure time in milli seconds of the bias frame.
|
private static int |
DEFDATAMAXACQUIRE
The default data max for 'good' filtered pixels.
|
private static int |
DEFDATAMINACQUIRE
The default data min for 'good' filtered pixels.
|
private static Dimension |
DEFENLARGECOARSE
The default pixel enlargement during acquire.
|
private static Dimension |
DEFENLARGEFINE
The default pixel enlargement during acquire.
|
private static double |
DEFEXPOSEACQUIRE
The default S/N on acquire.
|
private static Rectangle |
DEFFINEFRAME
The default acquire frame.
|
private static boolean |
DEFKEEPACQUIREFITS
If true, all acquire fits are kept on disc.
|
private static boolean |
DEFKEEPACQUIREINFO
If true, all acquire fits are kept on disc.
|
private static int |
DEFKEEPACQUIREWHAT
An integer specifying which acquire fits to keep.
|
private static double |
DEFMAGERROR
An estimate of the mgnitude error.
|
private static double |
DEFMAXSHIFTACQUIRE
The default maximum shift for a successful acquire, pixel.
|
private static long |
DEFMINTIMEACQUIRE
Minimum exposure time on acquire in ms.
|
private static double |
DEFPOSITIONERROR
An estimate of the catalog errors in pixels on ccd.
|
private static int |
DEFRETRYCOARSE
The default number of retries on acquire.
|
private static int |
DEFRETRYFINE
The default number of retries on acquire.
|
private static long |
DEFROWTIMING
Read out time for a single row, acquire frame.
|
private static int |
DEFSEARCHBOXACQUIRE
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_ACQUIREBINNING
The binning used during acquire.
|
static String |
KEY_BIASCOARSEFITS
Headerless name of the bias fits file, if we have any.
|
static String |
KEY_BIASCOARSETIME
Integration time on the bias fits.
|
static String |
KEY_BIASFINEFITS
Headerless name of the bias fits file, if we have any.
|
static String |
KEY_BIASFINETIME
Integration time on the bias fits.
|
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_COARSEFRAME
The window on the guider ccd used on acquire, unbinned.
|
static String |
KEY_COARSEOFFSET
The expected maximum distance of target to pinhole after coarse.
|
static String |
KEY_DARKCOARSEFITS
Headerless name of the dark fits file, if we have any.
|
static String |
KEY_DARKCOARSETIME
Time of the dark fits file, if we have any.
|
static String |
KEY_DARKFINEFITS
Headerless name of the dark fits file, if we have any.
|
static String |
KEY_DARKFINETIME
Time of the dark fits file, if we have any.
|
static String |
KEY_DATAMAXACQUIRE
A default data maximum value for star detection.
|
static String |
KEY_DATAMINACQUIRE
A default data minimum value for star detection.
|
static String |
KEY_ENLARGECOARSE
A gray-zone around the acquire field for catalog star inclusion.
|
static String |
KEY_ENLARGEFINE
A gray-zone around the acquire field for catalog star inclusion.
|
static String |
KEY_EXPOSEACQUIRE
Signal to noise wanted on acquire.
|
static String |
KEY_FINEFRAME
The window on the guider ccd used on acquire, unbinned.
|
static String |
KEY_KEEPACQUIREFITS
If true, all acquire fits are kept on disc.
|
static String |
KEY_KEEPACQUIREINFO
If true, all acquire fits are kept on disc.
|
static String |
KEY_KEEPACQUIREWHAT
An integer specifying which acquire fits to keep.
|
static String |
KEY_MAGERROR
An estimate of the magnitude errors.
|
static String |
KEY_MAXSHIFTACQUIRE
Maximum allowed shift during acquire.
|
static String |
KEY_MINTIMEACQUIRE
Minimum exposure time on acquire in ms.
|
static String |
KEY_POSITIONERROR
An estimate of the catalog errors in pixels on ccd.
|
static String |
KEY_RETRYCOARSE
Maximum retries on coarse acquire.
|
static String |
KEY_RETRYFINE
Maximum retries on fine acquire.
|
static String |
KEY_ROWTIMING
Row read-out time for bright strip detection.
|
static String |
KEY_SEARCHBOXACQUIRE
A search box for star detection, unbinned.
|
static String |
KEY_TIMEINCREASE
Increase the exposure time on coarse acquire fails.
|
private Guiding.RawFrame |
raw
Helper apllication.
|
COARSE, COARSEFINE, FINE, KEY_ALTCHECK, KEY_AZCHECK, KEY_OFFSETDB, KEY_OFFSETKEEP, NONEACQUIRETYPE, GUIDERTYPE, PYRAMIDTYPEKEY_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 |
|---|
NasmythUnit(Map<String,String> prop)
Constructs a new acquire unit.
|
| Modifier and Type | Method and Description |
|---|---|
protected ErrorEvent |
doUnitTask(String mode)
Brings the acquire star at the cross-hair of the guider.
|
protected double |
getIncrease()
If acquire failed because of no-star detected, retrrieve this last
increase factor.
|
private Mirroring |
getMirror()
If we are valid, this is always possible.
|
protected String |
getUnitType()
The type of this unit is
AdapterUnit.ACQUIRETYPE. |
protected boolean |
isValid()
We are valid only if a guider mode is set.
|
checkAcquire, databaseOffset, firstOffset, getOffsetParameter, setOffsetParametergetGuider, getMaster, getTelescope, init, isManual, resetUnit, 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_KEEPACQUIREFITS
public static final String KEY_KEEPACQUIREINFO
public static final String KEY_KEEPACQUIREWHAT
public static final String KEY_ACQUIREBINNING
public static final String KEY_EXPOSEACQUIRE
public static final String KEY_ROWTIMING
public static final String KEY_MINTIMEACQUIRE
public static final String KEY_DATAMINACQUIRE
public static final String KEY_DATAMAXACQUIRE
public static final String KEY_SEARCHBOXACQUIRE
public static final String KEY_POSITIONERROR
public static final String KEY_MAGERROR
public static final String KEY_TIMEINCREASE
public static final String KEY_COARSEOFFSET
public static final String KEY_RETRYCOARSE
public static final String KEY_COARSEFRAME
public static final String KEY_ENLARGECOARSE
public static final String KEY_BIASCOARSEFITS
public static final String KEY_BIASCOARSETIME
public static final String KEY_DARKCOARSEFITS
public static final String KEY_DARKCOARSETIME
public static final String KEY_RETRYFINE
public static final String KEY_FINEFRAME
public static final String KEY_ENLARGEFINE
public static final String KEY_BIASFINEFITS
public static final String KEY_BIASFINETIME
public static final String KEY_DARKFINEFITS
public static final String KEY_DARKFINETIME
public static final String KEY_MAXSHIFTACQUIRE
public static final String KEY_BINARYMAG
public static final String KEY_BINARYSEPARATE
public static final String KEY_BINARYTIME
private static final boolean DEFKEEPACQUIREINFO
private static final boolean DEFKEEPACQUIREFITS
private static final int DEFKEEPACQUIREWHAT
private static final Dimension DEFACQUIREBINNING
private static final long DEFROWTIMING
private static final double DEFEXPOSEACQUIRE
private static final long DEFMINTIMEACQUIRE
private static final int DEFDATAMINACQUIRE
private static final int DEFDATAMAXACQUIRE
private static final int DEFSEARCHBOXACQUIRE
private static final double DEFPOSITIONERROR
private static final double DEFMAGERROR
private static final double DEFTIMEINCREASE
private static final int DEFRETRYCOARSE
private static final Rectangle DEFCOARSEFRAME
private static final Dimension DEFENLARGECOARSE
private static final File DEFBIASCOARSEFITS
private static final long DEFBIASCOARSETIME
private static final File DEFDARKCOARSEFITS
private static final long DEFDARKCOARSETIME
private static final double DEFCOARSEOFFSET
private static final int DEFRETRYFINE
private static final Rectangle DEFFINEFRAME
private static final Dimension DEFENLARGEFINE
private static final File DEFBIASFINEFITS
private static final double DEFBIASFINETIME
private static final File DEFDARKFINEFITS
private static final double DEFDARKFINETIME
private static final double DEFMAXSHIFTACQUIRE
private static final double DEFBINARYMAG
private static final double DEFBINARYSEPARATE
private static final double DEFBINARYTIME
private double increase
private Guiding.RawFrame raw
protected String getUnitType()
AdapterUnit.ACQUIRETYPE.getUnitType in class AdapterUnitprotected boolean isValid()
isValid in class AdapterUnitprivate Mirroring getMirror()
protected ErrorEvent doUnitTask(String mode)
doUnitTask in class AdapterUnitmode - If the unit supports more than a single mode, otherwise nullprotected double getIncrease()
getIncrease in class AcquiringUnit