我已经编写了一段代码,使用astropy将坐标从地球固定系统转换为惯性框架:
如何对速度进行转换?
from astropy import coordinates as coord
from astropy import units as u
from astropy.time import Time
from astropy import time
now = Time('2018-03-14 23:48:00')
# position of satellite in GCRS or J20000 ECI:
xyz=[-6340.40130292,3070.61774516,684.52263588]
cartrep = coord.CartesianRepresentation(*xyz, unit=u.km)
gcrs = coord.ITRS(cartrep, obstime=now)
itrs = gcrs.transform_to(coord.GCRS(obstime=now))
loc= coord.EarthLocation(*itrs.cartesian.xyz)
print(loc)
如何对速度进行转换?