예제 #1
0
 def test_ip(self):
     for (i, t0), w in product(enumerate(self.t0s), self.ws):
         z = of.z_eccentric_ip(self.t,
                               t0,
                               self.p,
                               self.a,
                               self.i,
                               0,
                               w,
                               nth=1,
                               update=True)
         npt.assert_array_almost_equal(z, self.ref_zs[i], decimal=3)
예제 #2
0
 def test_ip(self):
     for i, (t0, e, w) in enumerate(product(self.t0s, self.es, self.ws)):
         z = of.z_eccentric_ip(self.t,
                               t0,
                               self.p,
                               self.a,
                               self.i,
                               e,
                               w,
                               nth=1,
                               update=True)
         npt.assert_array_almost_equal(z, self.ref_zs[i], decimal=3)
예제 #3
0
 def test_ip(self):
     for i, (t0, e, w) in enumerate(product(self.t0s, self.es, self.ws)):
         z = of.z_eccentric_ip(self.t, t0, self.p, self.a, self.i, e, w, nth=1, update=True)
         npt.assert_array_almost_equal(z, self.ref_zs[i], decimal=3)
예제 #4
0
파일: test_z.py 프로젝트: hpparvi/PyTransit
 def test_ip(self):
     for (i,t0), w in product(enumerate(self.t0s), self.ws):
         z = of.z_eccentric_ip(self.t, t0, self.p, self.a, self.i, 0, w, nth=1, update=True)
         npt.assert_array_almost_equal(z, self.ref_zs[i], decimal=3)