FACT++  1.0
int eraAtco13 ( double  rc,
double  dc,
double  pr,
double  pd,
double  px,
double  rv,
double  utc1,
double  utc2,
double  dut1,
double  elong,
double  phi,
double  hm,
double  xp,
double  yp,
double  phpa,
double  tc,
double  rh,
double  wl,
double *  aob,
double *  zob,
double *  hob,
double *  dob,
double *  rob,
double *  eo 
)

Definition at line 3 of file atco13.c.

References eraApco13(), eraAtciq(), and eraAtioq().

Referenced by t_atco13().

157 {
158  int j;
159  eraASTROM astrom;
160  double ri, di;
161 
162 /* Star-independent astrometry parameters. */
163  j = eraApco13(utc1, utc2, dut1, elong, phi, hm, xp, yp,
164  phpa, tc, rh, wl, &astrom, eo);
165 
166 /* Abort if bad UTC. */
167  if ( j < 0 ) return j;
168 
169 /* Transform ICRS to CIRS. */
170  eraAtciq(rc, dc, pr, pd, px, rv, &astrom, &ri, &di);
171 
172 /* Transform CIRS to observed. */
173  eraAtioq(ri, di, &astrom, aob, zob, hob, dob, rob);
174 
175 /* Return OK/warning status. */
176  return j;
177 
178 /* Finished. */
179 
180 }
void eraAtciq(double rc, double dc, double pr, double pd, double px, double rv, eraASTROM *astrom, double *ri, double *di)
Definition: atciq.c:3
int eraApco13(double utc1, double utc2, double dut1, double elong, double phi, double hm, double xp, double yp, double phpa, double tc, double rh, double wl, eraASTROM *astrom, double *eo)
Definition: apco13.c:3
void eraAtioq(double ri, double di, eraASTROM *astrom, double *aob, double *zob, double *hob, double *dob, double *rob)
Definition: atioq.c:3

+ Here is the call graph for this function:

+ Here is the caller graph for this function: