stella.adapter
Class AbstractAltAzGuider

java.lang.Object
  extended by util.PropertyContainer
      extended by util.PropertyResources
          extended by util.PropertyBundles
              extended by stella.adapter.StellaGuider
                  extended by stella.adapter.AbstractStarGuider
                      extended by stella.adapter.AbstractAltAzGuider
All Implemented Interfaces:
Cloneable, Guiding, Initializable, LocalizedSupplying, PropertySupplying, ResourceSupplying
Direct Known Subclasses:
AuxiliaryGuider, PrimeFocusGuider, VideoGuider

public abstract class AbstractAltAzGuider
extends AbstractStarGuider

This guider sits parallel to an alt az mount. Either as an auxiliar telescope or on a driect foci, like Cassegrain or prime focus.


Nested Class Summary
 
Nested classes/interfaces inherited from class stella.adapter.AbstractStarGuider
AbstractStarGuider.Exposure, AbstractStarGuider.Magnitudes
 
Nested classes/interfaces inherited from class stella.adapter.StellaGuider
StellaGuider.Continuous, StellaGuider.Single
 
Nested classes/interfaces inherited from class util.PropertyResources
PropertyResources.URLResource
 
Nested classes/interfaces inherited from interface stella.adapter.Guiding
Guiding.RawFrame, Guiding.RawStar
 
Field Summary
 
Fields inherited from class stella.adapter.AbstractStarGuider
KEY_ALIGNMENTANGLE, KEY_ALTITUDEFLIP, 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, REFERENCEMAG
 
Fields inherited from class stella.adapter.StellaGuider
biasfits, 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, LOWPASS, LOWPASSNAME, maxsize, MEDIAN, MEDIANNAME, RECTANGULARMATCHER, REDUCED, REDUCEDNAME, SKYFRAME, STARREGISTER
 
Fields inherited from class util.PropertyBundles
KEY_LOCALECOUNTRY, KEY_LOCALELANGUAGE, KEY_RESOURCEBUNDLES
 
Fields inherited from class util.PropertyResources
KEY_NOINITONCREATE, localurl, locate, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_URL, urlset
 
Fields inherited from class util.PropertyContainer
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATOR
 
Fields inherited from interface util.ResourceSupplying
KEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME
 
Fields inherited from interface util.PropertySupplying
CONFIG, KEY_CLASS
 
Constructor Summary
protected AbstractAltAzGuider(Map<String,String> prop)
          Constructor chaining, no defaults.
 
Method Summary
protected  Number getCurrentAzAltRotation()
          Returns the current azimuth/altitude alignment angle, depending on fixed or non-fixed derotator and on target.
protected  Number getCurrentFieldRotation()
          Returns the current field rotation angle, depending on fixed or non-fixed derotator and target.
 
Methods inherited from class stella.adapter.AbstractStarGuider
closestToPinhole, closestToPixel, detect, detect, estimateDataMin, estimateExposureTime, estimateGuiderMag, estimateReferenceMag, fieldOfViewOffset, fieldOfViewShift, formatWithUnique, getAltitude, getAzimuth, getCatalogPosition, getDerotator, getExpectedList, getFocus, getFov, getGuiderScale, getMaximumExposureTime, getNeighbours, getPinhole, getPinholeNeighbours, getRaDeCenter, getRotation, getStrip, getUnique, isStar, offsetAzAltToPixel, pixelToAzAltOffset, removeSpurious, removeStripes, setFocus, setFov, setOrientationValues, setOrientationValues, setPinhole, setUnique, starOffset, starOffset, starShift, starShift
 
Methods inherited from class stella.adapter.StellaGuider
background, cancelContinuous, countSum, fluxInside, getCcd, getCcdSize, getContinuousList, getContinuousMinimumExpose, getCurrentExpsoureNumber, getFitsDir, getGuidingStars, getGuidingStars, getGuidingStars, isReady, match, photometry, prepareContinuous, reduceFitsFile, registerCcd, setBiasReduction, setDarkReduction, startContinuous, startContinuous, stopContinuous
 
Methods inherited from class util.PropertyBundles
clone, getLocalized, getLocalized, getLocalizedString, getLocalizedString, loadResource
 
Methods inherited from class util.PropertyResources
createFrom, createFrom, createFrom, getApplet, getAsResources, getLocalClassLoader, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, init, keyCreate, keyCreate, reload, setApplet
 
Methods inherited from class util.PropertyContainer
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, reload, removeProperty, rescanned, setObject, setProperties, setProperty, stringProperties, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface util.ResourceSupplying
getResource, getResourceAsStream, getResources
 
Methods inherited from interface util.PropertySupplying
defaultBoolean, 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, stringProperties
 
Methods inherited from interface util.Initializable
init
 

Constructor Detail

AbstractAltAzGuider

protected AbstractAltAzGuider(Map<String,String> prop)
Constructor chaining, no defaults.

Method Detail

getCurrentFieldRotation

protected Number getCurrentFieldRotation()
Returns the current field rotation angle, depending on fixed or non-fixed derotator and target. Offset is applied. If parameters are missing, null is returned. Used for converting ra/dec to pixel.

Specified by:
getCurrentFieldRotation in class AbstractStarGuider
Parameters:
alt - Height of target, needed for fixed derotators.
imrot - Field rotation in focal plane, needed for fixed derot.
derotoffset - For non-fixed derotators, the constant offset
Returns:
Current Nasmith filed rotation with offset in degrees.

getCurrentAzAltRotation

protected Number getCurrentAzAltRotation()
Returns the current azimuth/altitude alignment angle, depending on fixed or non-fixed derotator and on target. Derotator offset is applied. If parameters are missing, null is returned. Used for converting pixels to alt/az.

Specified by:
getCurrentAzAltRotation in class AbstractStarGuider
Parameters:
alt - Height of target, needed for fixed derotators.
imrot - Field rotation in focal plane, needed for fixed derot.
derotoffset - For non-fixed derotators, the constant offset
Returns:
The rotation angle between x/y and current alt/az in degrees.