Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

psCoord.h File Reference


Detailed Description

Contains basic coordinate transformation definitions and operations.

This file defines the basic types for astronomical coordinate transformation

Author:
GLG, MHPCC
Version:
Revision
1.30
Name
rel5_0
Date:
Date
2005/03/31 23:01:46
Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii

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:

Include dependency graph

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

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  psPlane
 Euclidiean Coordinate System. More...
struct  psSphere
 Angular Coordinate System. More...
struct  psPlaneTransform
 2D Polynomial Transform More...
struct  psPlaneDistort
 4D Polynomial Transform More...
struct  psSphereTransform
 Spherical Transform Definition. More...
struct  psProjection
 Parameter set for projection/deprojection. More...

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

psPlanepsPlaneAlloc (void)
 Allocates a psPlane.
psSpherepsSphereAlloc (void)
 Allocates a psSphere.
psPlaneTransformpsPlaneTransformAlloc (psS32 n1, psS32 n2)
 Allocates a psPlaneTransform transform.
psPlanepsPlaneTransformApply (psPlane *out, const psPlaneTransform *transform, const psPlane *coords)
 Applies the psPlaneTransform transform to a specified coordinate.
psPlaneDistortpsPlaneDistortAlloc (psS32 n1, psS32 n2, psS32 n3, psS32 n4)
 Allocates a psPlaneDistort transform.
psPlanepsPlaneDistortApply (psPlane *out, const psPlaneDistort *transform, const psPlane *coords, float term3, float term4)
 Applies the psPlaneDistort transform to a specified coordinate.
psSphereTransformpsSphereTransformAlloc (double alphaP, double deltaP, double phiP)
 Allocator for psSphereTransform.
psSpherepsSphereTransformApply (psSphere *out, const psSphereTransform *transform, const psSphere *coord)
 Applies the psSphereTransform transform for a specified coordinate.
psSphereTransformpsSphereTransformICRSToEcliptic (psTime *time)
 Creates the appropriate transform for converting from ICRS to Ecliptic coordinate systems.
psSphereTransformpsSphereTransformEclipticToICRS (psTime *time)
 Creates the appropriate transform for converting from Ecliptic to ICRS coordinate systems.
psSphereTransformpsSphereTransformICRSToGalactic (void)
 Creates the appropriate transform for converting from ICRS to Galactic coordinate systems.
psSphereTransformpsSphereTransformGalacticToICRS (void)
 Creates the appropriate transform for converting from Galactic to ICRS coordinate systems.
psProjectionpsProjectionAlloc (psF64 R, psF64 D, psF64 Xs, psF64 Ys, psProjectionType type)
 Allocates memory for a psProjection structure.
psPlanepsProject (const psSphere *coord, const psProjection *projection)
 Projects a spherical coordinate to a linear coordinate system.
psSpherepsDeproject (const psPlane *coord, const psProjection *projection)
 Reverse projection of a linear coordinate to a spherical coordinate system.
psSpherepsSphereGetOffset (const psSphere *position1, const psSphere *position2, psSphereOffsetMode mode, psSphereOffsetUnit unit)
 Determines the offset (RA,Dec) on the sky between two positions.
psSpherepsSphereSetOffset (const psSphere *position, const psSphere *offset, psSphereOffsetMode mode, psSphereOffsetUnit unit)
 Applies the given offset to a coordinate.
psSpherepsSpherePrecess (psSphere *coords, const psTime *fromTime, const psTime *toTime)
 Generates the complete spherical rotation to account for precession between two times.
psPlaneTransformp_psPlaneTransformLinearInvert (psPlaneTransform *transform)
psS32 p_psIsProjectionLinear (psPlaneTransform *transform)
psPlaneTransformpsPlaneTransformInvert (psPlaneTransform *out, const psPlaneTransform *in, psRegion *region, int nSamples)
 inverts a given transformation.
psPlaneTransformpsPlaneTransformCombine (psPlaneTransform *out, const psPlaneTransform *trans1, const psPlaneTransform *trans2)
 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.


Generated on Mon Apr 4 18:24:45 2005 for Pan-STARRS Foundation Library by  doxygen 1.3.9.1