Changeset 27fade8 in sasmodels
- Timestamp:
- Mar 30, 2016 12:13:13 PM (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:
- b0696e1
- Parents:
- b812972
- Location:
- sasmodels/models
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_ellipsoid.py
r65bf704 r27fade8 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):119 def ER(equat_core, polar_core, equat_shell, polar_shell): 120 120 """ 121 121 Returns the effective radius used in the S*P calculation … … 123 123 import numpy as np 124 124 from .ellipsoid import ER as ellipsoid_ER 125 return ellipsoid_ER( rpolar, equat_shell)125 return ellipsoid_ER(polar_shell, equat_shell) 126 126 127 127 -
sasmodels/models/core_shell_ellipsoid_xt.py
r65bf704 r27fade8 107 107 Returns the effective radius used in the S*P calculation 108 108 """ 109 import numpy as np110 109 from .ellipsoid import ER as ellipsoid_ER 111 return ellipsoid_ER(equat_core*x_core + t_shell*x_polar_shell, equat_shell + t_shell) 110 polar_outer = equat_core*x_core + t_shell*x_polar_shell 111 equat_outer = equat_core + t_shell 112 return ellipsoid_ER(polar_outer, equat_outer) 112 113 113 114
Note: See TracChangeset
for help on using the changeset viewer.