GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> GRBP / dev > grbpsiu / rhel5-32
#include <GRBP_math.h>
Functions | |
static __inline double | GRBP__gbmMsgToTimeDouble (unsigned int tenths_secs, unsigned short int two_usecs) |
Converts the time as presented a GBM message to a double with units of a second. | |
static __inline double | GRBP__gbmMsgToThetaDouble (signed short int dec) |
Convert the declination, expressed in arcmins to theta. | |
static __inline double | GRBP__gbmMsgToPhiDouble (unsigned short int ra) |
Converts the right ascension, in arcmins, to PHI. |
CVS $Id: GRBP_gbmMsg.h,v 1.4 2011/03/30 22:11:51 russell Exp $
static __inline double GRBP__gbmMsgToPhiDouble | ( | unsigned short int | ra | ) | [static] |
Converts the right ascension, in arcmins, to PHI.
ra | The right ascension, in arcmins |
Referenced by gbmCalculateHandler().
static __inline double GRBP__gbmMsgToThetaDouble | ( | signed short int | dec | ) | [static] |
Convert the declination, expressed in arcmins to theta.
dec | The declination, arcmins |
Referenced by gbmCalculateHandler().
static __inline double GRBP__gbmMsgToTimeDouble | ( | unsigned int | tenths_secs, | |
unsigned short int | two_usecs | |||
) | [static] |
Converts the time as presented a GBM message to a double with units of a second.
tenths_secs | The number tenths seconds since the epoch | |
two_usecs | The usecs part of the time since the epoch in two two microsecond units. Note that this value need only cover to .1 second (100,000 usecs), but since the unit are 2 usecs, need only go to 50,000. (Who comes up with this stuff?) |
Referenced by gbmCalculateHandler(), and GRBP_gbmRepointMsgTime().