public class AuxiliaryGuider extends AbstractAltAzGuider implements ReadoutStripes
getPinhole() method will retrieve
subtely different Points as a function of central az,alt. In most cases, an
altitude model will suffice, nevertheless an dependency on both parameters is
anticipated. The VectorFunction created by KEY_POINTINGMODEL
uses the guider's properties to create a function that delivers az-alt
offsets from the average pixel position KEY_ROTATIONCENTER as a
function of az and alt. This distance is converted into a pixel distance by
rotating against the alignment angle and multiplying with the pixel scale. If
an additional offset in centeroffset is set, this is added to this
pointing offset, before returning the neew center in getPinhole(). If
used with a fiber, this pinhold should correspond to the position of the
fiber in the main telescope, if used with an imaging device, this pinhole
should correspond to the derotator axis point on the CCD (not necessarrily
the center of the CCD).AbstractStarGuider.Exposure, AbstractStarGuider.MagnitudesStellaGuider.Continuous, StellaGuider.SinglePropertyResources.Load, PropertyResources.URLResourceGuiding.RawFrame, Guiding.RawStar| Modifier and Type | Field and Description |
|---|---|
private Vector2D |
centeroffset
If an offset to the rotational center is set from the outside.
|
private static double |
DEFALIGNMENTANGLE
Alignment angle of the guider ccd with respect to north.
|
private static double |
DEFDARKGUIDER
The default dark/sky countrate.
|
private static double |
DEFDETECTIONLIMIT
The default minimum instrumental magnitude to not be spurious.
|
private static double |
DEFDISTLIMIT
The maximum degree distance from the center for guide stars.
|
private static double |
DEFELONGATIONMAX
The default maximum elongation for round stars.
|
private static double |
DEFELONGATIONWIDTH
The minimum fwhm for a valid star detection.
|
private static double |
DEFEPSILONMAG
The default epsilon for the full light guider CCD.
|
private static float |
DEFFAINTLIMIT
The minimum brightness for useful guide stars.
|
private static Vector2D |
DEFFLEXURECENTER
The default deviation of the rotation center with cos(h).
|
private static double |
DEFGUIDERSCALE
The image scale on the direct image.
|
private static double |
DEFKMAG
The default k prime parameter for the full light guider CCD.
|
private static long |
DEFMAXTIMEGUIDER
Maximum exposure time on acquire in ms.
|
private static double |
DEFREADOUTGUIDER
The default bias level on the guider CCD.
|
private static Point2D |
DEFROTATIONCENTER
The pinhole location on the direct image.
|
private static double |
DEFSHARPPEAK
The default minimum sharpness for star images.
|
private static double |
DEFSHARPWIDTH
The default maximum sharpness for star images.
|
private static double |
DEFSOURCEGUIDER
The gain for a R=10 star.
|
private static double |
DEFSTRIPDISTANCE
The maximum column offset of read-out stripes.
|
private static double |
DEFSTRIPESMAX
The maximum stroke value read-out stripes may have.
|
private static double |
DEFSURESTRIPES
Detection with a stroke below this are always stripes..
|
private static double |
DEFZETAMAG
The default zero point for the guider CCD.
|
private Vector2D |
dither
If a dithering was set, this is added to ra de on center queries.
|
static String |
KEY_DISTLIMIT
The faintness limit for useful guiding stars.
|
static String |
KEY_FAINTLIMIT
The faintness limit for useful guiding stars.
|
static String |
KEY_POINTINGMODEL
The rotation center deviation with cos(h).
|
static String |
KEY_ROTATIONCENTER
The rotation center average on the auxiliary CCD.
|
static String |
KEY_SHARPLOWLIMIT
Overexposed star may even fall below this.
|
static String |
KEY_SHARPLOWVALUE
Then we give this for the sharpness indicator.
|
static String |
KEY_SPEAKS
List of sharp peaks.
|
static String |
KEY_SWIDTHS
List of sharp peaks.
|
private VectorFunction |
pm
The pointing model delivering the central offset az/alt.
|
private Vector2D |
rade
The position of the telescope after move.
|
KEY_ALIGNMENTANGLE, KEY_ALTITUDEFLIP, KEY_CATALOGMAGLIMIT, KEY_CCDCHIRALITY, KEY_DARKGUIDER, KEY_DETECTIONLIMIT, KEY_DIRECTPINHOLE, KEY_ELONGATIONMAX, KEY_ELONGATIONWIDTH, KEY_EPSILONMAG, KEY_GUIDERSCALE, KEY_KMAG, KEY_MAXTIMEGUIDER, KEY_READOUTGUIDER, KEY_SHARPPEAK, KEY_SHARPWIDTH, KEY_SOURCEGUIDER, KEY_STRIPDISTANCE, KEY_STRIPESMAX, KEY_SURESTRIPES, KEY_ZETAMAG, REFERENCEEXPOSE, REFERENCEMAGbiasfits, biastime, CLEAN, CLEANNAME, darkfits, darktime, GAUSS, GAUSSNAME, KEY_DEPTHMEDIAN, KEY_FITSDIR, KEY_GAUSSFWHM, KEY_GAUSSTRUNCATE, KEY_GUIDINGIMG, KEY_LOWPASS, KEY_MAGTRUNCATE, KEY_MATCHERVERSION, KEY_REDUCEDIR, KEY_REDUCETIME, KEY_SIZELOWPASS, KEY_SIZEMEDIAN, KEY_SKYFRAME, KEY_SKYTHRESHOLD, KEY_TMPDIR, LOWPASS, LOWPASSNAME, maxsize, MEDIAN, MEDIANNAME, RECTANGULARMATCHER, REDUCED, REDUCEDNAME, SKYFRAME, STARREGISTERKEY_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 |
|---|
AuxiliaryGuider(Map<String,String> prop)
Constructs a new adapter helper, defaulting all properties.
|
| Modifier and Type | Method and Description |
|---|---|
protected Vector2D |
getDitherOffset()
Returns the dither offset in right ascension and declination currently
applied.
|
protected Vector2D |
getMeasuredOffset()
Gets the measured offset in pixel.
|
protected Point2D |
getPinhole()
Returns the center of rotation.
|
protected Vector2D |
getRaDeCenter()
Returns a previously set center.
|
protected List<Star> |
getSuitableGuideStars()
Returns the brightest star of the fov stars that will be within the
specified CCD-rectangle on a perfectly pointing telescope.
|
void |
init()
On init, we try to construct the pointing model function from our
properties.
|
protected boolean |
isStar(Guiding.RawStar star)
Returns true, if the star detected is truely belived to be a star.
|
List<Guiding.RawStar> |
removeStripes(List<Guiding.RawStar> stars)
Makes the underlying method available.
|
protected void |
setDitherOffset(Vector2D rade)
Sets a dither offset in right ascension and declination, both degrees, or
resets it by issuing null here.
|
protected void |
setMeasuredOffset(Vector2D pinhole)
Sets a measured offset in pixel of the rotational center of the auxiliar
guider.
|
protected void |
setRaDeCenter(Vector2D pointto)
Sets the requested pointing direction of the telescope in right ascension
and declination and clears any dithering offset active.
|
getCurrentAzAltRotation, getCurrentFieldRotationclosestToPinhole, closestToPixel, detect, detect, estimateDataMin, estimateExposureTime, estimateGuiderMag, estimateReferenceMag, fieldOfViewOffset, fieldOfViewShift, formatWithUnique, getAltitude, getAzimuth, getCatalogPosition, getDerotator, getExpectedList, getFocus, getFov, getGuiderScale, getMaximumExposureTime, getNeighbours, getPinholeNeighbours, getPinholeOffset, getRotation, getStrip, getUnique, offsetAzAltToPixel, pixelToAzAltOffset, removeSpurious, saveMatches, setFocus, setFov, setOrientationValues, setOrientationValues, setPinholeOffset, setUnique, starOffset, starOffset, starShift, starShiftbackground, cancelContinuous, countSum, createFitsFile, createFitsObject, fluxInside, getCcd, getCcdSize, getContinuousList, getContinuousMinimumExpose, getCurrentExpsoureNumber, getFitsDir, getGuidingStars, getGuidingStars, getGuidingStars, getLastGuidingImage, getTmpDir, getTmpFitsname, interpretFitsFile, interpretFitsFile, isReady, match, photometry, prepareContinuous, reduceFitsFile, registerCcd, setBiasReduction, setDarkReduction, setGuiding, startContinuous, startContinuous, stopContinuousclone, 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_ROTATIONCENTER
public static final String KEY_POINTINGMODEL
public static final String KEY_FAINTLIMIT
public static final String KEY_DISTLIMIT
public static final String KEY_SPEAKS
public static final String KEY_SWIDTHS
public static final String KEY_SHARPLOWLIMIT
public static final String KEY_SHARPLOWVALUE
private static final float DEFFAINTLIMIT
private static final double DEFDISTLIMIT
private static final double DEFREADOUTGUIDER
private static final double DEFDARKGUIDER
private static final double DEFSOURCEGUIDER
private static final long DEFMAXTIMEGUIDER
private static final double DEFSHARPPEAK
private static final double DEFSHARPWIDTH
private static final double DEFELONGATIONMAX
private static final double DEFELONGATIONWIDTH
private static final double DEFDETECTIONLIMIT
private static final double DEFSURESTRIPES
private static final double DEFSTRIPESMAX
private static final double DEFSTRIPDISTANCE
private static final double DEFGUIDERSCALE
private static final Point2D DEFROTATIONCENTER
private static final Vector2D DEFFLEXURECENTER
private static final double DEFALIGNMENTANGLE
private static final double DEFZETAMAG
private static final double DEFKMAG
private static final double DEFEPSILONMAG
private Vector2D rade
private Vector2D dither
private Vector2D centeroffset
private VectorFunction pm
public void init()
init in interface Initializableinit in class AbstractStarGuiderpublic List<Guiding.RawStar> removeStripes(List<Guiding.RawStar> stars)
removeStripes in interface ReadoutStripesremoveStripes in class AbstractStarGuiderprotected List<Star> getSuitableGuideStars()
protected Point2D getPinhole()
KEY_ROTATIONCENTER, the pointing model in
KEY_POINTINGMODEL and the measured offset centeroffset.
Uses
xy=xy_rot+pm(az,alt).get(0,1)+centeroffset,thus the pointing model should readily return pixel instead of azimuth and altitude correction, which is equivalent despite the fixed rotation of the guider CCD to the az/alt coordiante system.
getPinhole in class AbstractStarGuidersetMeasuredOffset(math.Vector2D)protected boolean isStar(Guiding.RawStar star)
isStar in class AbstractStarGuiderprotected void setRaDeCenter(Vector2D pointto)
protected Vector2D getRaDeCenter()
getRaDeCenter in class AbstractStarGuiderprotected void setMeasuredOffset(Vector2D pinhole)
getPinhole().pinhole - pixel offset measured or null for reset.protected Vector2D getMeasuredOffset()
protected void setDitherOffset(Vector2D rade)
getRaDeCenter().protected Vector2D getDitherOffset()