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)
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)
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)