Changeset db1d9d5 in sasmodels for sasmodels/models/pearl_necklace.py
- Timestamp:
- Mar 28, 2019 3:16:51 PM (5 years ago)
- Branches:
- master, ticket-1257-vesicle-product, ticket_1156, ticket_822_more_unit_tests
- Children:
- 8795b6f
- Parents:
- a34b811
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/pearl_necklace.py
ra34b811 rdb1d9d5 25 25 .. math:: 26 26 27 S_{ss}(q) &= sm_s^2\psi^2(q)[\frac{N}{1-sin(qA)/qA}-\frac{N}{2}-28 \frac{1-(sin(qA)/qA)^N}{(1-sin(qA)/qA)^2}\cdot\frac{sin(qA)}{qA} ] \\29 S_{ff}(q) &= sm_r^2[M\{2\Lambda(q)-(\frac{sin(ql/2)}{ql/2})\}+27 S_{ss}(q) &= 2m_s^2\psi^2(q)\left[\frac{N}{1-sin(qA)/qA}-\frac{N}{2}- 28 \frac{1-(sin(qA)/qA)^N}{(1-sin(qA)/qA)^2}\cdot\frac{sin(qA)}{qA}\right] \\ 29 S_{ff}(q) &= m_r^2\left[M\left\{2\Lambda(q)-\left(\frac{sin(ql/2)}{ql/2}\right)\right\}+ 30 30 \frac{2M\beta^2(q)}{1-sin(qA)/qA}-2\beta^2(q)\cdot 31 \frac{1-(sin(qA)/qA)^M}{(1-sin(qA)/qA)^2} ] \\32 S_{fs}(q) &= m_r \beta (q) \cdot m_s \psi (q) \cdot 4 [31 \frac{1-(sin(qA)/qA)^M}{(1-sin(qA)/qA)^2}\right] \\ 32 S_{fs}(q) &= m_r \beta (q) \cdot m_s \psi (q) \cdot 4\left[ 33 33 \frac{N-1}{1-sin(qA)/qA}-\frac{1-(sin(qA)/qA)^{N-1}}{(1-sin(qA)/qA)^2} 34 \cdot \frac{sin(qA)}{qA} ] \\34 \cdot \frac{sin(qA)}{qA}\right] \\ 35 35 \psi(q) &= 3 \cdot \frac{sin(qR)-(qR)\cdot cos(qR)}{(qR)^3} \\ 36 36 \Lambda(q) &= \frac{\int_0^{ql}\frac{sin(t)}{t}dt}{ql} \\ … … 40 40 (volume of the *N* pearls/rods). *V* is the total volume of the necklace. 41 41 42 .. note:: 43 44 *num_pearls* must be an integer. 45 42 46 The 2D scattering intensity is the same as $P(q)$ above, regardless of the 43 47 orientation of the *q* vector. 44 45 The returned value is scaled to units of |cm^-1| and the parameters of the46 pearl_necklace model are the following47 48 NB: *num_pearls* must be an integer.49 48 50 49 References … … 52 51 53 52 .. [#] R Schweins and K Huber, *Particle Scattering Factor of Pearl Necklace Chains*, 54 *Macromol. Symp.* 211 (2004) 25-42 2004 53 *Macromol. Symp.* 211 (2004) 25-42 2004 54 55 55 .. [#] L. Onsager, *Ann. New York Acad. Sci.*, 51 (1949) 627-659 56 56 … … 66 66 67 67 * **Author:** 68 * **Last Modified by:** 69 * **Last Reviewed by:** 68 * **Last Modified by:** Andrew Jackson **Date:** March 28, 2019 69 * **Last Reviewed by:** Steve King **Date:** March 28, 2019 70 70 * **Source added by :** Steve King **Date:** March 25, 2019 71 71 """
Note: See TracChangeset
for help on using the changeset viewer.