This file defines the basic types for astronomical coordinate transformation
Definition in file psCoord.h.
#include "psType.h"
#include "psImage.h"
#include "psArray.h"
#include "psList.h"
#include "psFunctions.h"
#include "psTime.h"
Include dependency graph for psCoord.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Typedefs | |
| typedef psSphere | psSphere |
| Angular Coordinate System. | |
Enumerations | |
| enum | psProjectionType { PS_PROJ_TAN, PS_PROJ_SIN, PS_PROJ_AIT, PS_PROJ_PAR, PS_PROJ_NTYPE } |
| Projection type for projection/deprojection. More... | |
| enum | psSphereOffsetMode { PS_SPHERICAL, PS_LINEAR } |
| Mode for Offset calculation between two sky positions. More... | |
| enum | psSphereOffsetUnit { PS_ARCSEC, PS_ARCMIN, PS_DEGREE, PS_RADIAN } |
| The units of the offset. More... | |
Functions | |
| psPlane * | psPlaneAlloc (void) |
| Allocates a psPlane. | |
| psSphere * | psSphereAlloc (void) |
| Allocates a psSphere. | |
| psPlaneTransform * | psPlaneTransformAlloc (psS32 n1, psS32 n2) |
| Allocates a psPlaneTransform transform. | |
| psPlane * | psPlaneTransformApply (psPlane *out, const psPlaneTransform *transform, const psPlane *coords) |
| Applies the psPlaneTransform transform to a specified coordinate. | |
| psPlaneDistort * | psPlaneDistortAlloc (psS32 n1, psS32 n2, psS32 n3, psS32 n4) |
| Allocates a psPlaneDistort transform. | |
| psPlane * | psPlaneDistortApply (psPlane *out, const psPlaneDistort *transform, const psPlane *coords, float term3, float term4) |
| Applies the psPlaneDistort transform to a specified coordinate. | |
| psSphereTransform * | psSphereTransformAlloc (double alphaP, double deltaP, double phiP) |
| Allocator for psSphereTransform. | |
| psSphere * | psSphereTransformApply (psSphere *out, const psSphereTransform *transform, const psSphere *coord) |
| Applies the psSphereTransform transform for a specified coordinate. | |
| psSphereTransform * | psSphereTransformICRSToEcliptic (psTime *time) |
| Creates the appropriate transform for converting from ICRS to Ecliptic coordinate systems. | |
| psSphereTransform * | psSphereTransformEclipticToICRS (psTime *time) |
| Creates the appropriate transform for converting from Ecliptic to ICRS coordinate systems. | |
| psSphereTransform * | psSphereTransformICRSToGalactic (void) |
| Creates the appropriate transform for converting from ICRS to Galactic coordinate systems. | |
| psSphereTransform * | psSphereTransformGalacticToICRS (void) |
| Creates the appropriate transform for converting from Galactic to ICRS coordinate systems. | |
| psProjection * | psProjectionAlloc (psF64 R, psF64 D, psF64 Xs, psF64 Ys, psProjectionType type) |
| Allocates memory for a psProjection structure. | |
| psPlane * | psProject (const psSphere *coord, const psProjection *projection) |
| Projects a spherical coordinate to a linear coordinate system. | |
| psSphere * | psDeproject (const psPlane *coord, const psProjection *projection) |
| Reverse projection of a linear coordinate to a spherical coordinate system. | |
| psSphere * | psSphereGetOffset (const psSphere *position1, const psSphere *position2, psSphereOffsetMode mode, psSphereOffsetUnit unit) |
| Determines the offset (RA,Dec) on the sky between two positions. | |
| psSphere * | psSphereSetOffset (const psSphere *position, const psSphere *offset, psSphereOffsetMode mode, psSphereOffsetUnit unit) |
| Applies the given offset to a coordinate. | |
| psSphere * | psSpherePrecess (psSphere *coords, const psTime *fromTime, const psTime *toTime) |
| Generates the complete spherical rotation to account for precession between two times. | |
| psPlaneTransform * | p_psPlaneTransformLinearInvert (psPlaneTransform *transform) |
| Takes a given transform and inverts it linearly if possible. | |
| psS32 | p_psIsProjectionLinear (psPlaneTransform *transform) |
| Takes a transform and tests whether or not it is a linear projection. | |
| psPlaneTransform * | psPlaneTransformInvert (psPlaneTransform *out, const psPlaneTransform *in, psRegion region, int nSamples) |
| inverts a given transformation. | |
| psPlaneTransform * | psPlaneTransformCombine (psPlaneTransform *out, const psPlaneTransform *trans1, const psPlaneTransform *trans2, psRegion region, int nSamples) |
| Creates a single transformation that has the effect of performing trans1 followed by trans2. | |
| bool | psPlaneTransformFit (psPlaneTransform *trans, const psArray *source, const psArray *dest, int nRejIter, float sigmaClip) |
| takes two arrays containing matched coordinates and returns the best-fitting transformation. | |
1.4.1