FACT++  1.0
void palDtp2s ( double  xi,
double  eta,
double  raz,
double  decz,
double *  ra,
double *  dec 
)

Definition at line 79 of file palDtp2s.c.

References eraAnp().

Referenced by t_tp().

80  {
81 
82  double cdecz;
83  double denom;
84  double sdecz;
85  double d;
86 
87  sdecz = sin(decz);
88  cdecz = cos(decz);
89  denom = cdecz - eta * sdecz;
90  d = atan2(xi, denom) + raz;
91  *ra = eraAnp(d);
92  *dec = atan2(sdecz + eta * cdecz, sqrt(xi * xi + denom * denom));
93 
94  return;
95 }
double eraAnp(double a)
Definition: anp.c:3

+ Here is the call graph for this function:

+ Here is the caller graph for this function: