FACT++  1.0
int eraAtoc13 ( const char *  type,
double  ob1,
double  ob2,
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 *  rc,
double *  dc 
)

Definition at line 3 of file atoc13.c.

References eraApco13(), eraAticq(), and eraAtoiq().

Referenced by t_atoc13().

147 {
148  int j;
149  eraASTROM astrom;
150  double eo, ri, di;
151 
152 /* Star-independent astrometry parameters. */
153  j = eraApco13(utc1, utc2, dut1, elong, phi, hm, xp, yp,
154  phpa, tc, rh, wl, &astrom, &eo);
155 
156 /* Abort if bad UTC. */
157  if ( j < 0 ) return j;
158 
159 /* Transform observed to CIRS. */
160  eraAtoiq(type, ob1, ob2, &astrom, &ri, &di);
161 
162 /* Transform CIRS to ICRS. */
163  eraAticq(ri, di, &astrom, rc, dc);
164 
165 /* Return OK/warning status. */
166  return j;
167 
168 /* Finished. */
169 
170 }
void eraAtoiq(const char *type, double ob1, double ob2, eraASTROM *astrom, double *ri, double *di)
Definition: atoiq.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
int type
void eraAticq(double ri, double di, eraASTROM *astrom, double *rc, double *dc)
Definition: aticq.c:3

+ Here is the call graph for this function:

+ Here is the caller graph for this function: