Changeset 65bf704 in sasmodels
- Timestamp:
- Mar 20, 2016 10:43:12 AM (9 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- db74c47
- Parents:
- 4416868
- Location:
- sasmodels/models
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_ellipsoid.py
r29172aa r65bf704 117 117 source = ["lib/sph_j1c.c", "lib/gfn.c", "lib/gauss76.c", "core_shell_ellipsoid.c"] 118 118 119 def ER(equat_shell, polar_shell): 120 """ 121 Returns the effective radius used in the S*P calculation 122 """ 123 import numpy as np 124 from .ellipsoid import ER as ellipsoid_ER 125 return ellipsoid_ER(rpolar, equat_shell) 126 127 119 128 demo = dict(scale=1, background=0.001, 120 129 equat_core=200.0, -
sasmodels/models/core_shell_ellipsoid_xt.py
r3556ad7 r65bf704 103 103 "core_shell_ellipsoid_xt.c"] 104 104 105 def ER(equat_core, x_core, t_shell, x_polar_shell): 106 """ 107 Returns the effective radius used in the S*P calculation 108 """ 109 import numpy as np 110 from .ellipsoid import ER as ellipsoid_ER 111 return ellipsoid_ER(equat_core*x_core + t_shell*x_polar_shell, equat_shell + t_shell) 112 113 105 114 demo = dict(scale=0.05, background=0.001, 106 115 equat_core=20.0, -
sasmodels/models/flexible_cylinder_elliptical.py
rb66d38e r65bf704 85 85 from numpy import inf 86 86 87 name = "flexible_cylinder_e x"87 name = "flexible_cylinder_elliptical" 88 88 title = "Flexible cylinder wth an elliptical cross section and a uniform " \ 89 89 "scattering length density."
Note: See TracChangeset
for help on using the changeset viewer.