/* * libration.h -- Lunar optical libration (Meeus Ch. 53) * * Three components of the Moon's apparent wobble: * l -- optical libration in longitude (degrees, [-8, +8]) * b -- optical libration in latitude (degrees, [-7, +7]) * p -- position angle of the Moon's axis (degrees) */ #ifndef PG_ORRERY_LIBRATION_H #define PG_ORRERY_LIBRATION_H typedef struct { double l; /* libration in longitude, degrees */ double b; /* libration in latitude, degrees */ double p; /* position angle of axis, degrees */ } lunar_libration; void compute_lunar_libration(double jd, lunar_libration *lib); #endif /* PG_ORRERY_LIBRATION_H */