FACT++  1.0
void palPm ( double  r0,
double  d0,
double  pr,
double  pd,
double  px,
double  rv,
double  ep0,
double  ep1,
double *  r1,
double *  d1 
)

Definition at line 90 of file palPm.c.

References eraEpj2jd(), and eraStarpm().

Referenced by t_pm().

92  {
93 
94  int status;
95  double ep1a, ep1b, ep2a, ep2b;
96  double pmr2, pmd2, px2, rv2;
97 
98  /* SOFA/ERFA requires the epochs in TDB MJD so we have to
99  assume that the supplied epochs are Julian years */
100  eraEpj2jd( ep0, &ep1a, &ep1b );
101  eraEpj2jd( ep1, &ep2a, &ep2b );
102 
103  status = eraStarpm( r0, d0, pr, pd, px, rv,
104  ep1a, ep1b, ep2a, ep2b,
105  r1, d1,
106  &pmr2, &pmd2, &px2, &rv2 );
107 
108 }
void eraEpj2jd(double epj, double *djm0, double *djm)
Definition: epj2jd.c:3
int eraStarpm(double ra1, double dec1, double pmr1, double pmd1, double px1, double rv1, double ep1a, double ep1b, double ep2a, double ep2b, double *ra2, double *dec2, double *pmr2, double *pmd2, double *px2, double *rv2)
Definition: starpm.c:3

+ Here is the call graph for this function:

+ Here is the caller graph for this function: