#include "Obit.h"
#include "ObitErr.h"
Go to the source code of this file.
Enumerations | |
| enum | obitSkyGeomProj { OBIT_SkyGeom_SIN = 0, OBIT_SkyGeom_TAN, OBIT_SkyGeom_ARC, OBIT_SkyGeom_NCP, OBIT_SkyGeom_GLS, OBIT_SkyGeom_MER, OBIT_SkyGeom_AIT, OBIT_SkyGeom_STG } |
| enum for SkyGeom projection types. More... | |
Functions | |
| void | ObitSkyGeomShiftXY (gdouble ra, gdouble dec, gfloat rotate, gdouble shiftRA, gdouble shiftDec, gfloat *xShift, gfloat *yShift) |
| Public: Determine shift between two positions. | |
| void | ObitSkyGeomXYShift (gdouble ra, gdouble dec, gfloat xShift, gfloat yShift, gfloat rotate, gdouble *shiftRA, gdouble *shiftDec) |
| Public: Determine result of a shift to a position. | |
| void | ObitSkyGeomShiftSIN (gdouble ra, gdouble dec, gfloat rotate, gdouble xra, double xdec, gfloat dxyzc[3]) |
| Public: Get shift parameters for -SIN projection. | |
| void | ObitSkyGeomShiftNCP (gdouble ra, gdouble dec, gfloat rotate, gdouble xra, double xdec, gfloat dxyzc[3]) |
| Public: Get shift parameters for -NCP projection. | |
| void | ObitSkyGeomNewPos (ObitSkyGeomProj Proj, gdouble ra0, gdouble dec0, gdouble l, gdouble m, gdouble *raout, gdouble *decout, gint *ierr) |
| Public: Returns astronomical coordinates given direction cosines, projection. | |
| gint | ObitSkyGeomWorldPos (gfloat xpix, gfloat ypix, gdouble xref, gdouble yref, gfloat xrefpix, gfloat yrefpix, gfloat xinc, gfloat yinc, gfloat rot, gchar *type, gdouble *xpos, gdouble *ypos) |
| Public: accurate position for pixel coordinates. | |
| gint | ObitSkyGeomCDpos (gfloat xpix, gfloat ypix, gdouble xref, gdouble yref, gfloat xrefpix, gfloat yrefpix, gfloat xinc, gfloat yinc, gfloat rot, gfloat cd1[2], gfloat cd2[2], gchar *type, gdouble *xpos, gdouble *ypos) |
| Public: Position for pixel coordinates from IRAF style CD matrix. | |
| gint | ObitSkyGeomXYpix (gdouble xpos, gdouble ypos, gdouble xref, gdouble yref, gfloat xrefpix, gfloat yrefpix, gfloat xinc, gfloat yinc, gfloat rot, gchar *type, gfloat *xpix, gfloat *ypix) |
| Public: Pixel coordinates for an RA and Dec. | |
| gint | ObitSkyGeomCDpix (gdouble xpos, gdouble ypos, gdouble xref, gdouble yref, gfloat xrefpix, gfloat yrefpix, gfloat xinc, gfloat yinc, gfloat rot, gfloat icd1[2], gfloat icd2[2], gchar *type, gfloat *xpix, gfloat *ypix) |
| Public:pixel coordinates for an RA and Dec from IRAF style CD matrix. | |
| gint | ObitSkyGeomWorldPosLM (gdouble dx, gdouble dy, gdouble xref, gdouble yref, gfloat xinc, gfloat yinc, gfloat rot, gchar *type, gdouble *xpos, gdouble *ypos) |
| Public: Position for pixel coordinates from offsets from the reference position. | |
| gint | ObitSkyGeomXYPixLM (gdouble xpos, gdouble ypos, gdouble xref, gdouble yref, gfloat xinc, gfloat yinc, gfloat rot, gchar *type, gdouble *dx, gdouble *dy) |
| Public: Coordinate offsets for an RA and Dec. | |
| void | ObitSkyGeomBtoJ (gdouble *ra, gdouble *dec) |
| Public: Precess B1950 to J2000 coordinates. | |
| void | ObitSkyGeomJtoB (gdouble *ra, gdouble *dec) |
| Public: Precess J2000 to B1950 coordinates. | |
| void | ObitSkyGeomEq2Gal (gdouble *RALong, gdouble *DecLat) |
| Public: Convert Equatorial (B1950) to Galactic coordinates. | |
| void | ObitSkyGeomGal2Eq (gdouble *RALong, gdouble *DecLat) |
| Public: Convert Galactic to Equatorial (B1950). | |
| void | ObitSkyGeomEq2Ec (gdouble *RALong, gdouble *DecLat, gfloat epoch) |
| Public: Convert Equatorial to Ecliptic coordinates. | |
| void | ObitSkyGeomEc2Eq (gdouble *RALong, gdouble *DecLat, gfloat epoch) |
| Public: Convert Ecliptic to Equatorial. | |
| void | ObitSkyGeomRADec2Zern (gdouble ra, gdouble dec, gfloat xshift, gfloat yshift, gfloat *xzer, gfloat *yzer, gint *ierr) |
| Public: Projection to Zernike plane. | |
This file contains utility functions for celestial coordinates
|
|
||||||||||||
|
Public: Precess B1950 to J2000 coordinates. J. Condon Taken from FITSview family
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Public:pixel coordinates for an RA and Dec from IRAF style CD matrix. Note: xinc, yinc, and rot can be derived from cd1 and cd2 and should be compatible with them. Taken from FITSview family
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Public: Position for pixel coordinates from IRAF style CD matrix. Note: xinc, yinc, and rot can be derived from cd1 and cd2 and should be compatible with them. Taken from FITSview family
|
|
||||||||||||||||
|
Public: Convert Ecliptic to Equatorial.
|
|
||||||||||||||||
|
Public: Convert Equatorial to Ecliptic coordinates.
|
|
||||||||||||
|
Public: Convert Equatorial (B1950) to Galactic coordinates.
|
|
||||||||||||
|
Public: Convert Galactic to Equatorial (B1950).
|
|
||||||||||||
|
Public: Precess J2000 to B1950 coordinates.
|
|
||||||||||||||||||||||||||||||||||||
|
Public: Returns astronomical coordinates given direction cosines, projection. the direction cosine l is assumed to be positive to the east; m is positive to the north. the routine works for 4 kinds of projective geometries and for celestial, ecliptic, or galactic coordinate systems. this subroutine always uses an accurate computation. All angles in this subroutine are in radians. Adapted from the AIPSish NEWPOS.FOR.
|
|
||||||||||||||||||||||||||||||||
|
Public: Projection to Zernike plane. The output coordinates are normalized to unity at a 10 deg radius from the reference position. The coordinates are projected onto a plane tangent to the sky at the reference position. Routine translated from the AIPSish ZERGEOM.FOR/RD2ZER
|
|
||||||||||||||||||||||||||||
|
Public: Get shift parameters for -NCP projection. Adapted from the AIPSish SHINCP.FOR.
|
|
||||||||||||||||||||||||||||
|
Public: Get shift parameters for -SIN projection. Adapted from the AIPSish SHISIN.FOR.
|
|
||||||||||||||||||||||||||||||||
|
Public: Determine shift between two positions. The shift is in (possibly) rotated coordinates. Adopted from the AIPSish SHFTXY.FOR
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Public: accurate position for pixel coordinates. Taken from FITSview family
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
Public: Position for pixel coordinates from offsets from the reference position. Taken from FITSview family
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Public: Pixel coordinates for an RA and Dec.
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
Public: Coordinate offsets for an RA and Dec.
|
|
||||||||||||||||||||||||||||||||
|
Public: Determine result of a shift to a position. The shift is in (possibly) rotated coordinates. Adopted from the AIPSish XYSHFT.FOR
|
1.3.9.1