public class FineStarAcquisition extends StarAcquisition implements FineAcquiring
AcquisitionUnit.ModesPropertyResources.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 |
DEFRESOLUTIONLIMIT
A companion must be closer (degs) to trigger proximity.
|
private double |
increase
Keep track of the exposure time increase due to transparency loss.
|
static String |
KEY_ACQUIRETOLERANCE
Maximum allowed tolerance in pixel to consider acquire a success.
|
static String |
KEY_AVFWHM |
static String |
KEY_FINEBINNING
The binning used for coarse acquisition.
|
static String |
KEY_FINEFIELDOFVIEW |
static String |
KEY_FINESIGNAL |
static String |
KEY_INCREASEBRIGHTBINARY |
static String |
KEY_INCREASEDELSTARS |
static String |
KEY_INCREASEFAINTBINARY |
static String |
KEY_INCREASENOSTARS |
static String |
KEY_PINHOLEOFFSET
Expected maximum pointing error after coarse in acquisition pixel.
|
static String |
KEY_PIXELSHIFTMAXIMUM
Maximum allowed pixel shift on fine.
|
static String |
KEY_RETRYFINE
Maximum retries on fine acquire.
|
static String |
KEY_ROWTIMING |
KEY_DATAMAX, KEY_DATAMIN, KEY_GAUSSFWHM, KEY_GAUSSTRUNCATE, KEY_SEARCHBOX, KEY_STRIPEADUKEY_ACQUIRESIZE, KEY_BIASFITS, KEY_BINARYMAG, KEY_BINARYSEPARATE, KEY_DARKFITS, KEY_DARKTIME, KEY_FLATFITS, KEY_RESOLUTIONLIMITKEY_KEEPFITS, KEY_KEEPWHATKEY_FITSDIR, KEY_XTENSIONKEY_UNITTYPEKEY_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 |
|---|
FineStarAcquisition(Map<String,String> props) |
| Modifier and Type | Method and Description |
|---|---|
void |
configureUnit() |
Vector2D |
fineAcquisition(Acquisition ag,
TransparencyMeasuring prior)
This method is called to conduct an entire fine acquisition cycle.
|
Vector2D |
fineShift(Rectangle readout,
Dimension bin,
double expt,
MImageHDU fine,
Acquisition ag)
This method should return a pixel shift from checking the apparent
position through an acquisition camera.
|
List<StarProspect> |
getExpectedStars(double texp,
Rectangle readout,
Dimension bin,
boolean single)
From a readout frame plus binning on a detector, return a list of star
one expects to see on the CCD.
|
protected Vector2D |
getPivotProxima(Vector2D cent,
List<StarDetection> raw,
double maxoff)
Checks all identifies stars to a maximum distance and returns the
closest, if any.
|
double |
getTransparencyIncrease()
Returns the exposure time increase after a successful acquisition.
|
String |
getUnitType() |
void |
init() |
getAcquisition, isValid, setAcquisitionAndGuidingcheckShift, getBias, getDark, getFlat, getReadoutWindowgetAcquisitionResource, getBinaryAcquisition, getExpectedStars, getOneExtension, getRaw, persitent, reduce16, sendFieldOfView, sendShifts, sendTelescopeOffset, setCount, setTrybinningAndWindow, getAcquisitionExtension, getFitsDirectory, getOneExposure, isManual, reducedFloat, save, save, setManualdefaultGuidingStar, getMaster, isValid, registerGlobals, setMasterclone, 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, waitgetAcquisitiondefaultBoolean, 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_RETRYFINE
public static final String KEY_FINEBINNING
public static final String KEY_FINESIGNAL
public static final String KEY_FINEFIELDOFVIEW
public static final String KEY_INCREASEFAINTBINARY
public static final String KEY_INCREASEBRIGHTBINARY
public static final String KEY_INCREASENOSTARS
public static final String KEY_INCREASEDELSTARS
public static final String KEY_ROWTIMING
public static final String KEY_AVFWHM
public static final String KEY_PINHOLEOFFSET
public static final String KEY_PIXELSHIFTMAXIMUM
public static final String KEY_ACQUIRETOLERANCE
private static final double DEFRESOLUTIONLIMIT
private static final double DEFBINARYSEPARATE
private static final double DEFBINARYMAG
private double increase
public void init()
init in interface Initializableinit in class FixedFrameAcquisitionpublic List<StarProspect> getExpectedStars(double texp, Rectangle readout, Dimension bin, boolean single) throws ConfigurationException
AcquisitionUnitgetExpectedStars in class AcquisitionUnittexp - Exposure time in seconds.ConfigurationExceptionpublic Vector2D fineAcquisition(Acquisition ag, TransparencyMeasuring prior) throws NoShiftException, ConfigurationException
FineAcquiring#fineShift(Rectangle, Dimension, double, MImageHDU, AcquisitionAndGuiding)
method will be called repeatedly.fineAcquisition in interface FineAcquiringNoShiftExceptionConfigurationExceptionpublic Vector2D fineShift(Rectangle readout, Dimension bin, double expt, MImageHDU fine, Acquisition ag) throws NoShiftException, ConfigurationException
FineAcquiringRayPath assigned to the acquisition
unit.fineShift in interface FineAcquiringConfigurationExceptionNoShiftExceptionpublic double getTransparencyIncrease()
TransparencyMeasuringgetTransparencyIncrease in interface TransparencyMeasuringpublic String getUnitType()
getUnitType in class GenericUnitprotected Vector2D getPivotProxima(Vector2D cent, List<StarDetection> raw, double maxoff)
cent - The pixel where the acquire star should be foundfound - All stars identifiedmaxoff - Do not trust stars further than this distance.public void configureUnit()
throws ConfigurationException
configureUnit in class StarAcquisitionConfigurationException