Changeset 627b68b in sasmodels
- Timestamp:
- Mar 29, 2019 9:57:43 AM (6 years ago)
- Branches:
- master, ticket-1257-vesicle-product, ticket_1156, ticket_822_more_unit_tests
- Children:
- de032da
- Parents:
- ef476e6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/spherical_sld.py
rabe4255 r627b68b 18 18 sub-shell is described by a line function, with *n_steps* sub-shells per 19 19 interface. The form factor is normalized by the total volume of the sphere. 20 21 .. note:: 22 23 *n_shells* must be an integer. *n_steps* must be an ODD integer. 20 24 21 25 Interface shapes are as follows: … … 73 77 3 \rho_\text{solvent} V(r_N) 74 78 \Big[ \frac{\sin(qr_N) - qr_N \cos(qr_N)} {qr_N^3} \Big] 75 76 79 77 80 Here we assumed that the SLDs of the core and solvent are constant in $r$. … … 156 159 \end{align*} 157 160 158 159 161 We assume $\rho_{\text{inter}_j} (r)$ is approximately linear 160 162 within the sub-shell $j$. … … 179 181 when $P(Q) * S(Q)$ is applied. 180 182 181 182 183 References 183 184 ---------- … … 198 199 * **Author:** Jae-Hie Cho **Date:** Nov 1, 2010 199 200 * **Last Modified by:** Paul Kienzle **Date:** Dec 20, 2016 200 * **Last Reviewed by:** Paul Butler **Date:** September 8, 2018201 * **Last Reviewed by:** Steve King **Date:** March 29, 2019 201 202 * **Source added by :** Steve King **Date:** March 25, 2019 202 203 """ … … 207 208 208 209 name = "spherical_sld" 209 title = "Sp erical SLD intensity calculation"210 title = "Spherical SLD intensity calculation" 210 211 description = """ 211 212 I(q) = … … 219 220 # pylint: disable=bad-whitespace, line-too-long 220 221 # ["name", "units", default, [lower, upper], "type", "description"], 221 parameters = [["n_shells", "", 1, [1, 10], "volume", "number of shells "],222 parameters = [["n_shells", "", 1, [1, 10], "volume", "number of shells (must be integer)"], 222 223 ["sld_solvent", "1e-6/Ang^2", 1.0, [-inf, inf], "sld", "solvent sld"], 223 224 ["sld[n_shells]", "1e-6/Ang^2", 4.06, [-inf, inf], "sld", "sld of the shell"],
Note: See TracChangeset
for help on using the changeset viewer.