public abstract class AbstractHorizontalGeometry extends PropertyContainer implements GlobalDepending, RayPath
| Modifier and Type | Field and Description |
|---|---|
private Value |
az
We cache the azimuth parameter.
|
private static String |
DEFALTITUDE
The default name of the altitude parameter.
|
private static String |
DEFAZIMUTH
The default name of the azimuth parameter.
|
private static String |
DEFPARALLACTICANGLE
The default name of the plain image rotation.
|
private static boolean |
DEFTCSAZIMUTHANGLE
Default TCS takes azimuth angles even in offset.
|
private static boolean |
DEFTCSZENITHDISTANCE
Default zd telescope (unfortunately).
|
private Value |
el
We cache the altitude parameter.
|
private Value |
eta
We cache the parallactic angle parameter.
|
static String |
KEY_ALIGNMENTANGLE
Alignment angle of the CCD with respect to North.
|
static String |
KEY_ALTITUDE
The height of the target for calculating CCD rotation.
|
static String |
KEY_ARCSECSCALE
The guider scale on the image, arcsec per pixel.
|
static String |
KEY_AZIMUTH
The azimuth of the target for calculating CCD rotation.
|
static String |
KEY_CHIRALITY
If the CCD x/y has a different chirality than ra/dec.
|
static String |
KEY_GUIDERSCALE
The old guider scale on the image, pixel per radian.
|
static String |
KEY_PARALLACTICANGLE
The name of the
Value holding the plain image rotation. |
static String |
KEY_TCSAZIMUTHANGLE
If true, TCS expects azimuth offsets in azimuth angle (div cosh).
|
static String |
KEY_TCSZENITHDISTANCE
If true, TCS expects zenith distance instead of elevation.
|
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Modifier | Constructor and Description |
|---|---|
protected |
AbstractHorizontalGeometry(Map<String,String> props) |
| Modifier and Type | Method and Description |
|---|---|
private Vector2D |
azAltToTcs(Vector2D azel) |
protected Number |
getAlignmentAngle()
The fixed alignment angle from the properties.
|
Number |
getAltitude()
Returns the altitude of an predefined object or telescope pointing.
|
double |
getArcsecPerPixel()
Arcseconds per pixel guider scale.
|
protected Vector2D |
getAzAltShiftFromPixelDistance(Vector2D pix) |
Number |
getAzimuth()
Returns the azimuth of an predefined object or telescope pointing.
|
double |
getChirality()
Chirality of CCD system, -1 for left-handed, +1 for right-handed.
|
Number |
getParallacticAngle()
Returns the parallactiv angle in degrees.
|
Vector2D |
getPixelPositionFromRaDe(Point2D to,
Vector2D rade,
Star catalog)
Converts a star to an anticipated pixel position on the CCD.
|
Vector2D |
getTcsShiftFromPixelDistance(Vector2D pix)
Converts unbinned CCD-pixel shift into shifts in the telescope system.
|
private Vector2D |
pixelToAzAlt(Vector2D pxshft,
double theta) |
private Vector2D |
radeToPixel(Vector2D drade,
double chi) |
void |
registerGlobals(GlobalGrouping set)
We grab the parameters for azimuth, altitude and the parallactic angle.
|
augment, augment, augment, augment, augment, clone, 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, initProperties, isNew, parseObject, parseObject, reload, reload, removeProperty, requires, rescanned, setObject, setProperties, setProperty, stringProperties, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEquatorialAngle, getHorizontalAnglepublic static final String KEY_AZIMUTH
public static final String KEY_ALTITUDE
public static final String KEY_PARALLACTICANGLE
Value holding the plain image rotation.public static final String KEY_TCSAZIMUTHANGLE
public static final String KEY_TCSZENITHDISTANCE
public static final String KEY_ALIGNMENTANGLE
public static final String KEY_GUIDERSCALE
public static final String KEY_ARCSECSCALE
public static final String KEY_CHIRALITY
private static final String DEFPARALLACTICANGLE
private static final String DEFAZIMUTH
private static final String DEFALTITUDE
private static final boolean DEFTCSAZIMUTHANGLE
private static final boolean DEFTCSZENITHDISTANCE
private Value az
private Value el
private Value eta
public void registerGlobals(GlobalGrouping set)
registerGlobals in interface GlobalDependingpublic Number getAzimuth()
HorizontalgetAzimuth in interface HorizontalInvalidParameterExceptionpublic Number getAltitude()
HorizontalgetAltitude in interface HorizontalInvalidParameterExceptionpublic Number getParallacticAngle()
HorizontalgetParallacticAngle in interface HorizontalInvalidParameterExceptionpublic double getArcsecPerPixel()
CcdReferencegetArcsecPerPixel in interface CcdReferencepublic double getChirality()
CcdReferencegetChirality in interface CcdReferencepublic Vector2D getTcsShiftFromPixelDistance(Vector2D pix)
RayPathgetTcsShiftFromPixelDistance in interface RayPathpix - The pixel shift recorded from a matchpublic Vector2D getPixelPositionFromRaDe(Point2D to, Vector2D rade, Star catalog)
RayPathgetPixelPositionFromRaDe in interface RayPathto - The CCD hot-spot coordinates, i.e. the acquisition center.rade - The acquisition center in ra/dec on sky.catalog - The star from a catalog entry.private Vector2D radeToPixel(Vector2D drade, double chi)
drade - planar Δα and Δδ coordinateschi - Angle between CCD-y and declination, degrees.protected Number getAlignmentAngle()