irfpy.cy1orb.pvat
¶
pvat module is a collection of functions (syntax sugar) for the PVAT related calculations.
Orbit of CY-1 for arbitrary time by getorbit()
Conversion from SC frame to LSE for arbitrary time frame by getlsevec()
Note
Use irfpy.cy1orb.pvat2
for practical use.
irfpy.cy1orb.pvat2
aims to replace of irfpy.cy1orb.pvat
,
because the first implementation of
irfpy.cy1orb.pvat
has a problem in its specification on caching.
Clearly stating,
irfpy.cy1orb.pvat
uses huge memory after a long use.
Now irfpy.cy1orb.pvat2
uses irfpy.util.ringcache
to solve the problem.
However, performance in the calculation time is slightly worse than pvat.
The calculation of irfpy.cy1orb.pvat2
takes 10% more time than irfpy.cy1orb.pvat
.
- irfpy.cy1orb.pvat.getlsepos(t)[source]¶
Get LSE orbit at the time of t as an instance of Vector3d.
The LSE orbit in km unit is returned. The returned position of the spacecraft is at the sampling time (1 sec resolution) closest to the specified time. The data is read from default URI, and once the data is read from file, it is cached.