FACT++  1.0
void eraAtciq ( double  rc,
double  dc,
double  pr,
double  pd,
double  px,
double  rv,
eraASTROM astrom,
double *  ri,
double *  di 
)

Definition at line 3 of file atciq.c.

References eraASTROM::bm1, eraASTROM::bpn, eraASTROM::eb, eraASTROM::eh, eraASTROM::em, eraAb(), eraAnp(), eraC2s(), eraLdsun(), eraPmpx(), eraRxp(), eraASTROM::pmt, and eraASTROM::v.

Referenced by eraAtci13(), eraAtco13(), and t_atciq().

70 {
71  double pco[3], pnat[3], ppr[3], pi[3], w;
72 
73 /* Proper motion and parallax, giving BCRS coordinate direction. */
74  eraPmpx(rc, dc, pr, pd, px, rv, astrom->pmt, astrom->eb, pco);
75 
76 /* Light deflection by the Sun, giving BCRS natural direction. */
77  eraLdsun(pco, astrom->eh, astrom->em, pnat);
78 
79 /* Aberration, giving GCRS proper direction. */
80  eraAb(pnat, astrom->v, astrom->em, astrom->bm1, ppr);
81 
82 /* Bias-precession-nutation, giving CIRS proper direction. */
83  eraRxp(astrom->bpn, ppr, pi);
84 
85 /* CIRS RA,Dec. */
86  eraC2s(pi, &w, di);
87  *ri = eraAnp(w);
88 
89 /* Finished. */
90 
91 }
void eraPmpx(double rc, double dc, double pr, double pd, double px, double rv, double pmt, double pob[3], double pco[3])
Definition: pmpx.c:3
void eraAb(double pnat[3], double v[3], double s, double bm1, double ppr[3])
Definition: ab.c:3
double pmt
Definition: erfam.h:17
double eh[3]
Definition: erfam.h:19
void eraC2s(double p[3], double *theta, double *phi)
Definition: c2s.c:3
void eraRxp(double r[3][3], double p[3], double rp[3])
Definition: rxp.c:3
double bpn[3][3]
Definition: erfam.h:23
double v[3]
Definition: erfam.h:21
double eb[3]
Definition: erfam.h:18
double eraAnp(double a)
Definition: anp.c:3
double em
Definition: erfam.h:20
double bm1
Definition: erfam.h:22
void eraLdsun(double p[3], double e[3], double em, double p1[3])
Definition: ldsun.c:3

+ Here is the call graph for this function:

+ Here is the caller graph for this function: