def test(self): t1 = gpstk.CommonTime() t2 = gpstk.CommonTime() t2.addDays(1) t3 = gpstk.CommonTime() t3.addSeconds(60) obs = gpstk.ObsID(gpstk.ObsID.otRange, gpstk.ObsID.cbAny, gpstk.ObsID.tcA) b = gpstk.BrcKeplerOrbit('GPS', obs, 10, t1, t2, t3, 5, True, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.1, 0.0, 0.0, 0.0, 0.0, 0.0, 1.2, 1.3, 0.0) self.assertEqual(1.1, b.getEcc()) self.assertEqual(1.2, b.getW()) self.assertEqual(1.3, b.getOmegaDot())
def test(self): o1 = gpstk.ObsID(gpstk.ObsID.otRange, gpstk.ObsID.cbAny, gpstk.ObsID.tcA) self.assertEqual('AnyBand GALA pseudorange', str(o1))