LAL  7.1.7.1-f7f2ccf
SkyCoordinates.h File Reference

Prototypes

void LALGalacticToEquatorial (LALStatus *, SkyPosition *output, SkyPosition *input)
 
void LALEquatorialToGalactic (LALStatus *, SkyPosition *output, SkyPosition *input)
 
void LALEclipticToEquatorial (LALStatus *, SkyPosition *output, SkyPosition *input)
 
void LALEquatorialToEcliptic (LALStatus *, SkyPosition *output, SkyPosition *input)
 
void LALGeographicToEquatorial (LALStatus *, SkyPosition *output, SkyPosition *input, LIGOTimeGPS *gpsTime)
 
void LALEquatorialToGeographic (LALStatus *, SkyPosition *output, SkyPosition *input, LIGOTimeGPS *gpsTime)
 
void LALSystemToHorizon (LALStatus *, SkyPosition *output, SkyPosition *input, const SkyPosition *zenith)
 
void LALHorizonToSystem (LALStatus *, SkyPosition *output, SkyPosition *input, const SkyPosition *zenith)
 
void LALGeodeticToGeocentric (LALStatus *, EarthPosition *location)
 
void LALGeocentricToGeodetic (LALStatus *, EarthPosition *location)
 
void LALConvertSkyCoordinates (LALStatus *, SkyPosition *output, SkyPosition *input, ConvertSkyParams *params)
 
void LALNormalizeSkyPosition (LALStatus *status, SkyPosition *posOut, const SkyPosition *posIn)
 
void XLALNormalizeSkyPosition (double *_LAL_RESTRICT_ longitude, double *_LAL_RESTRICT_ latitude)
 

Go to the source code of this file.

Data Structures

struct  SkyPosition
 This structure stores the two spherical coordinates of a sky position; ie a generic latitude and longitude; the structure is not defined specific to a particular coordinate system, but maintains a tag indicating which coordinate system it is expressed in. More...
 
struct  EarthPosition
 This structure stores the location of a point on (or near) the surface of the Earth in both geodetic and geocentric coordinates, as described in TerrestrialCoordinates.c . More...
 
struct  ConvertSkyParams
 This structure stores parameters for the function LALConvertSkyPosition(). More...
 

Macros

Error codes
#define SKYCOORDINATESH_ENUL   1
 Unexpected null pointer in arguments. More...
 
#define SKYCOORDINATESH_ESYS   2
 Wrong coordinate system in input. More...
 
#define SKYCOORDINATESH_EZERO   3
 Angular coordinates undefined at origin. More...
 
#define SKYCOORDINATESH_ESING   4
 Point is inside singular ellipsoid. More...
 

Enumerations

enum  CoordinateSystem {
  COORDINATESYSTEM_HORIZON, COORDINATESYSTEM_GEOGRAPHIC, COORDINATESYSTEM_EQUATORIAL, COORDINATESYSTEM_ECLIPTIC,
  COORDINATESYSTEM_GALACTIC
}
 This enumerated type is used to identify data as being in one of the coordinate systems discussed in Header SkyCoordinates.h. More...
 

Function Documentation

◆ XLALNormalizeSkyPosition()

void XLALNormalizeSkyPosition ( double *_LAL_RESTRICT_  longitude,
double *_LAL_RESTRICT_  latitude 
)