Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/p/a/palpy-1.0/test_pal.py   palpy(Download)
    def test_ampqk(self):
        amprms = pal.mappa( 2010.0, 55927.0 )
        (rm, dm) = pal.ampqk( 1.234, -0.567, amprms )
        self.assertAlmostEqual( rm, 1.2335120411026936349, 11 )
        self.assertAlmostEqual( dm, -0.56702908706930343907, 11 )
                          -1.5069005133483779417e-05,
                          0.99999997416198904698 ] )
        amprms = pal.mappa( 2010.0, 55927 )
        np.testing.assert_array_almost_equal( amprms, expected, decimal=12 )
 
    def test_mapqkz(self):
        amprms = pal.mappa( 2010, 55927 )