21 #include <lal/LALStdlib.h> 22 #include <lal/LALConstants.h> 23 #include <lal/SkyCoordinates.h> 25 #define LAL_ALPHAGAL (3.366032942) 26 #define LAL_DELTAGAL (0.473477302) 27 #define LAL_LGAL (0.576) 196 double *restrict latitude
214 *latitude =
LAL_PI - *latitude;
227 *latitude = -
LAL_PI - *latitude;
struct tagLALStatus * statusPtr
Pointer to the next node in the list; NULL if this function is not reporting a subroutine error...
void LALEclipticToEquatorial(LALStatus *stat, SkyPosition *output, SkyPosition *input)
The galactic coordinate system.
This structure stores parameters for the function LALConvertSkyPosition().
SkyPosition * zenith
The position of the zenith of the horizon coordinate system; may be NULL if one is neither converting...
void LALEquatorialToGeographic(LALStatus *, SkyPosition *output, SkyPosition *input, LIGOTimeGPS *gpsTime)
The sky-fixed equatorial coordinate system.
REAL8 latitude
The latitudinal coordinate (in radians), as defined above.
void LALEquatorialToEcliptic(LALStatus *stat, SkyPosition *output, SkyPosition *input)
CoordinateSystem system
The coordinate system to which one is transforming.
void LALConvertSkyCoordinates(LALStatus *stat, SkyPosition *output, SkyPosition *input, ConvertSkyParams *params)
void LALGalacticToEquatorial(LALStatus *stat, SkyPosition *output, SkyPosition *input)
#define SKYCOORDINATESH_ESYS
Wrong coordinate system in input.
void LALNormalizeSkyPosition(LALStatus *stat, SkyPosition *posOut, const SkyPosition *posIn)
This structure stores the two spherical coordinates of a sky position; ie a generic latitude and long...
CoordinateSystem system
The coordinate system in which latitude/longitude are expressed.
void LALGeographicToEquatorial(LALStatus *, SkyPosition *output, SkyPosition *input, LIGOTimeGPS *gpsTime)
#define ATTATCHSTATUSPTR(statusptr)
#define RETURN(statusptr)
The ecliptic coordinate system.
#define INITSTATUS(statusptr)
The Earth-fixed geographic coordinate system.
void LALEquatorialToGalactic(LALStatus *stat, SkyPosition *output, SkyPosition *input)
#define DETATCHSTATUSPTR(statusptr)
#define ABORT(statusptr, code, mesg)
A horizon coordinate system.
LAL status structure, see The LALStatus structure for more details.
void LALHorizonToSystem(LALStatus *, SkyPosition *output, SkyPosition *input, const SkyPosition *zenith)
REAL8 longitude
The longitudinal coordinate (in radians), as defined above.
#define SKYCOORDINATESH_ENUL
Unexpected null pointer in arguments.
LIGOTimeGPS * gpsTime
The GPS time for conversions between Earth-fixed and sky-fixed coordinates; may be NULL if no such co...
void XLALNormalizeSkyPosition(double *restrict longitude, double *restrict latitude)
If sky-position is not in the canonical range , normalize it by mapping it into this coordinate-inter...
#define TRY(func, statusptr)
#define LAL_PI
Archimedes's constant, pi.
void LALSystemToHorizon(LALStatus *, SkyPosition *output, SkyPosition *input, const SkyPosition *zenith)
#define ASSERT(assertion, statusptr, code, mesg)
#define LAL_TWOPI
2*pi is circumference of a circle divided by its radius