Exemple #1
0
 def test_inv_trans_sin2_bisection_2darray(self):
     t = np.linspace(-np.pi, np.pi, 10)
     sphere_mcplot.inv_trans_sin2(t, loc=0, nu=np.array([[1.0]]))
Exemple #2
0
 def test_inv_trans_sin2_bisection_list(self):
     t = np.linspace(-np.pi, np.pi, 10)
     sphere_mcplot.inv_trans_sin2(t, loc=0, nu=[1.0])
Exemple #3
0
 def test_inv_trans_sin2_newton_1darray(self):
     t = np.linspace(-np.pi, np.pi, 10)
     sphere_mcplot.inv_trans_sin2(t, loc=0, nu=np.array([0]))
Exemple #4
0
 def test_inv_trans_sin2_newton(self):
     t = np.linspace(-np.pi, np.pi, 10)
     sphere_mcplot.inv_trans_sin2(t, loc=0, nu=0)