Beispiel #1
0
 def test_tete_quick(self):
     # Following copied from intermediate_rotation_transforms.gcrs_to_tete
     rbpn = erfa.pnm06a(*get_jd12(self.obstime, 'tt'))
     loc_gcrs_frame = get_location_gcrs(
         self.loc, self.obstime, tete_to_itrs_mat(self.obstime, rbpn=rbpn),
         rbpn)
     self.check_obsgeo(loc_gcrs_frame.obsgeoloc, loc_gcrs_frame.obsgeovel)
Beispiel #2
0
 def test_cirs_quick(self):
     cirs_frame = CIRS(location=self.loc, obstime=self.obstime)
     # Following copied from intermediate_rotation_transforms.gcrs_to_cirs
     pmat = gcrs_to_cirs_mat(cirs_frame.obstime)
     loc_gcrs_frame = get_location_gcrs(
         self.loc, self.obstime, cirs_to_itrs_mat(cirs_frame.obstime), pmat)
     self.check_obsgeo(loc_gcrs_frame.obsgeoloc, loc_gcrs_frame.obsgeovel)