Changeset b99734a in sasmodels
- Timestamp:
- Oct 1, 2016 11:11:33 AM (8 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:
- 7c57861
- Parents:
- e0de72f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/core_shell_ellipsoid.py
r5031ca3 rb99734a 1 1 r""" 2 An alternative version of $P(q)$ for the core_shell_ellipsoid3 having as parameters the core axial ratio X and a shell thickness,4 which are more often what we would like to determine.5 6 This model is also better behaved when polydispersity is applied than the four7 independent radii in core_shell_ellipsoid model.8 9 2 Definition 10 3 ---------- 4 5 Parameters for this model are the core axial ratio X and a shell thickness, 6 which are more often what we would like to determine and makes the model 7 better behaved, particularly when polydispersity is applied than the four 8 independent radii used in the original parameterization of this model. 9 11 10 12 11 .. figure:: img/core_shell_ellipsoid_geometry.png … … 14 13 The geometric parameters of this model are 15 14 16 *radius_equat_core =* equatorial core radius *= R _minor_core*15 *radius_equat_core =* equatorial core radius *= Rminor_core* 17 16 18 17 *X_core = polar_core / radius_equat_core = Rmajor_core / Rminor_core* … … 58 57 from numpy import inf, sin, cos, pi 59 58 60 name = "core_shell_ellipsoid _xt"59 name = "core_shell_ellipsoid" 61 60 title = "Form factor for an spheroid ellipsoid particle with a core shell structure." 62 61 description = """ 63 [core_shell_ellipsoid _xt] Calculates the form factor for an spheroid62 [core_shell_ellipsoid] Calculates the form factor for an spheroid 64 63 ellipsoid particle with a core_shell structure. 65 64 The form factor is averaged over all possible … … 101 100 102 101 source = ["lib/sph_j1c.c", "lib/gfn.c", "lib/gauss76.c", 103 "core_shell_ellipsoid _xt.c"]102 "core_shell_ellipsoid.c"] 104 103 105 104 def ER(radius_equat_core, x_core, thick_shell, x_polar_shell):
Note: See TracChangeset
for help on using the changeset viewer.