#include <math.h>
#include <lal/LALStdlib.h>
#include <lal/LALConstants.h>
#include <lal/SkyCoordinates.h>
Include dependency graph for SkyCoordinates.c:

Go to the source code of this file.
Defines | |
| #define | LAL_ALPHAGAL (3.366032942) |
| #define | LAL_DELTAGAL (0.473477302) |
| #define | LAL_LGAL (0.576) |
Functions | |
| NRCSID (SKYCOORDINATESC,"$Id: SkyCoordinates.c,v 1.12 2007/06/08 14:41:47 bema Exp $") | |
| void | LALConvertSkyCoordinates (LALStatus *stat, SkyPosition *output, SkyPosition *input, ConvertSkyParams *params) |
| void | LALNormalizeSkyPosition (LALStatus *stat, SkyPosition *posOut, const SkyPosition *posIn) |
| LAL interface to XLALNormalizeSkyPosition(). | |
| int | XLALNormalizeSkyPosition (SkyPosition *posInOut) |
If sky-position is not in the canonical range , normalize it by mapping it into this coordinate-interval. | |
D.
The function LALNormalizeSkyPosition() ``normalizes'' any given (spherical) sky-position (in radians), which means it projects the angles into
if they lie outside.
Definition in file SkyCoordinates.c.
| #define LAL_ALPHAGAL (3.366032942) |
Definition at line 181 of file SkyCoordinates.c.
| #define LAL_DELTAGAL (0.473477302) |
Definition at line 182 of file SkyCoordinates.c.
| #define LAL_LGAL (0.576) |
Definition at line 183 of file SkyCoordinates.c.
| NRCSID | ( | SKYCOORDINATESC | , | |
| "$Id: SkyCoordinates. | c, | |||
| v 1.12 2007/06/08 14:41:47 bema Exp $" | ||||
| ) |
| void LALConvertSkyCoordinates | ( | LALStatus * | stat, | |
| SkyPosition * | output, | |||
| SkyPosition * | input, | |||
| ConvertSkyParams * | params | |||
| ) |
Definition at line 189 of file SkyCoordinates.c.
| void LALNormalizeSkyPosition | ( | LALStatus * | stat, | |
| SkyPosition * | posOut, | |||
| const SkyPosition * | posIn | |||
| ) |
LAL interface to XLALNormalizeSkyPosition().
| posOut | [out] normalized sky-position |
| posIn | [in] general sky-position |
Definition at line 281 of file SkyCoordinates.c.
| int XLALNormalizeSkyPosition | ( | SkyPosition * | posInOut | ) |
If sky-position is not in the canonical range
, normalize it by mapping it into this coordinate-interval.
Based on Alicia's function with some additional "unwinding" added. return 0 = OK, -1 = ERROR
| posInOut | [in,out] sky-position to normalize |
Definition at line 310 of file SkyCoordinates.c.
1.5.2