FACT++  1.0
static void t_e2h ( int *  status)
static

Definition at line 645 of file palTest.c.

References palDe2h(), palDh2e(), and vvd().

Referenced by main().

645  {
646  double dh, dd, dp, da, de;
647 
648  dh = -0.3;
649  dd = -1.1;
650  dp = -0.7;
651 
652  palDe2h( dh, dd, dp, &da, &de );
653  vvd( da, 2.820087515852369, 1e-12, "palDe2h",
654  "AZ", status);
655  vvd( de, 1.132711866443304, 1e-12, "palDe2h",
656  "EL", status );
657 
658  palDh2e( da, de, dp, &dh, &dd );
659  vvd( dh, -0.3, 1e-12, "palDh2e", "HA", status);
660  vvd( dd, -1.1, 1e-12, "palDh2e", "DEC", status );
661 
662 }
void palDe2h(double ha, double dec, double phi, double *az, double *el)
Definition: palDe2h.c:99
void palDh2e(double az, double el, double phi, double *ha, double *dec)
Definition: palDh2e.c:96
static void vvd(double val, double valok, double dval, const char *func, const char *test, int *status)
Definition: palTest.c:99

+ Here is the call graph for this function:

+ Here is the caller graph for this function: