Umbenennung, Umstrukturierung, Doc-Strings
This commit is contained in:
34
Tests/test_biaxial.py
Normal file
34
Tests/test_biaxial.py
Normal file
@@ -0,0 +1,34 @@
|
||||
import numpy as np
|
||||
from ellipsoide import EllipsoidBiaxial
|
||||
from GHA_biaxial.bessel import gha1 as gha1_bessel
|
||||
from GHA_biaxial.gauss import gha1 as gha1_gauss
|
||||
from GHA_biaxial.rk import gha1 as gha1_rk
|
||||
from GHA_biaxial.gauss import gha2 as gha2_gauss
|
||||
|
||||
re = EllipsoidBiaxial.init_name("Bessel")
|
||||
|
||||
# phi0 = 0.6
|
||||
# lamb0 = 1.2
|
||||
# alpha0 = 0.45
|
||||
# s = 123456
|
||||
#
|
||||
# values_bessel = gha1_bessel(re, phi0, lamb0, alpha0, s)
|
||||
# alpha1_bessel = values_bessel[-1]
|
||||
# p1_bessel = re.bi_ell2cart(values_bessel[0], values_bessel[1], 0)
|
||||
#
|
||||
# values_gauss1 = gha1_gauss(re, phi0, lamb0, alpha0, s)
|
||||
# alpha1_gauss1 = values_gauss1[-1]
|
||||
# p1_gauss = re.bi_ell2cart(values_gauss1[0], values_gauss1[1], 0)
|
||||
#
|
||||
# values_rk = gha1_rk(re, phi0, lamb0 , alpha0, s, 10000)
|
||||
# alpha1_rk = values_rk[-1]
|
||||
# p1_rk = re.bi_ell2cart(values_rk[0], values_rk[1], 0)
|
||||
#
|
||||
# alpha0_gauss, alpha1_gauss2, s_gauss = gha2_gauss(re, phi0, lamb0, values_gauss1[0], values_gauss1[1])
|
||||
|
||||
phi0 = 0.6
|
||||
lamb0 = 1.2
|
||||
|
||||
cart = re.bi_ell2cart(phi0, lamb0, 0)
|
||||
ell = re.bi_cart2ell(cart)
|
||||
pass
|
||||
Reference in New Issue
Block a user