1 | import numpy as np |
---|
2 | from numpy import pi, inf |
---|
3 | |
---|
4 | name = 'six_shells_01' |
---|
5 | title = 'title' |
---|
6 | description = 'description' |
---|
7 | category = 'shapes:six_shells_01' |
---|
8 | |
---|
9 | parameters = [ |
---|
10 | ['t_c', 'nm', 3., [0., inf], '',''], |
---|
11 | ['t_h', 'nm', 1., [0., inf], '',''], |
---|
12 | ['t_p_in', 'nm', 5., [0., inf], '',''], |
---|
13 | ['t_p_out', 'nm', 7., [0., inf], '',''], |
---|
14 | ['rho_c', 'e-/nm', 260., [0., inf], '',''], |
---|
15 | ['rho_h', 'e-/nm', 420., [0., inf], '',''], |
---|
16 | ['rho_p_in', 'e-/nm', 350., [0., inf], '',''], |
---|
17 | ['rho_p_out', 'e-/nm', 380., [0., inf], '',''], |
---|
18 | ['rho_s_in', 'e-/nm', 334., [0., inf], '',''], |
---|
19 | ['rho_s_out', 'e-/nm', 334., [0., inf], '',''], |
---|
20 | ['R_median', 'nm', 45., [0., inf], '',''], |
---|
21 | ['sigma_R', 'nm', 9., [0., inf], '',''], |
---|
22 | ['n_pts', '', 200, [0., inf], '',''], |
---|
23 | ['n_sigs', '', 8, [0., inf], '',''], |
---|
24 | ['polyparam', '', 2, [1, 3], '',''], |
---|
25 | ['constraint', '', 6./45., [0., inf], '',''] |
---|
26 | ] |
---|
27 | |
---|
28 | # ~ parameters = [ |
---|
29 | # ~ ['t_c', 'nm', 0., [0., inf], '',''], |
---|
30 | # ~ ['t_h', 'nm', 0., [0., inf], '',''], |
---|
31 | # ~ ['t_p_in', 'nm', 0., [0., inf], '',''], |
---|
32 | # ~ ['t_p_out', 'nm', 0., [0., inf], '',''], |
---|
33 | # ~ ['rho_c', 'e-/nm', 0., [0., inf], '',''], |
---|
34 | # ~ ['rho_h', 'e-/nm', 0., [0., inf], '',''], |
---|
35 | # ~ ['rho_p_in', 'e-/nm', 0., [0., inf], '',''], |
---|
36 | # ~ ['rho_p_out', 'e-/nm', 0., [0., inf], '',''], |
---|
37 | # ~ ['rho_s_in', 'e-/nm', 4553., [0., inf], '',''], |
---|
38 | # ~ ['rho_s_out', 'e-/nm', 334., [0., inf], '',''], |
---|
39 | # ~ ['R_median', 'nm', 45., [0., inf], '',''], |
---|
40 | # ~ ['sigma_R', 'nm', 1., [0., inf], '',''], |
---|
41 | # ~ ['n_pts', '', 200, [0., inf], '',''], |
---|
42 | # ~ ['n_sigs', '', 8, [0., inf], '',''], |
---|
43 | # ~ ['polyparam', '', 2, [1, 3], '',''], |
---|
44 | # ~ ['constraint', '', 6./45., [0., inf], '',''] |
---|
45 | # ~ ] |
---|
46 | |
---|
47 | source = ['lib/sas_3j1x_x.c','six_shells_01.c'] |
---|
48 | |
---|
49 | def ER(*arg): |
---|
50 | return 1 |
---|