irfpy.vexpvat.pvat

VEX pvat information.

Warning

This module is deprecated. Use irfpy.vexpvat.vexspice module.

PVAT information is obtained from Peje’s format file. The simplest way is using getPvatFile() to instance PvatFile class.

>>> pv = getPvatFile(1500)    
>>> print(pv.poslist.firstJd())    
 2455346.25200(2010-05-29T18:02:52.800)
>>> print(pv.poslist.lastJd())    
 2455347.25270(2010-05-30T18:03:53.280)
>>> pv2 = getPvatFile(1501)    
>>> print(pv2.poslist.firstJd())    
 2455347.25294(2010-05-30T18:04:14.016)
class irfpy.vexpvat.pvat.PvatFile(uriname)[source]

Bases: object

PVAT data file. Peje’s formatted file.

Open a file.

getNeighbor(t)[source]
>>> t0 = datetime.datetime(2010, 5, 29, 21, 18, 30)    
>>> pvat_file = getPvatFile(1500)  # Orbit 1500    
>>> pos0 = pvat_file.getNeighbor(t0)    
>>> print(pos0.getJd())    
 2455346.38811(2010-05-29T21:18:52.704)
>>> print(pos0.getData())    
Vector3d( -2051.54, 4795.86, -68846.3 )
irfpy.vexpvat.pvat.getPvatFile(orbnr)[source]
irfpy.vexpvat.pvat.doctests()[source]