Changeset db1d9d5 in sasmodels for sasmodels/models/pearl_necklace.py


Ignore:
Timestamp:
Mar 28, 2019 3:16:51 PM (5 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, ticket-1257-vesicle-product, ticket_1156, ticket_822_more_unit_tests
Children:
8795b6f
Parents:
a34b811
Message:

merge with master

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/pearl_necklace.py

    ra34b811 rdb1d9d5  
    2525.. math:: 
    2626 
    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\}+ 
    3030        \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[ 
    3333        \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] \\ 
    3535    \psi(q) &= 3 \cdot \frac{sin(qR)-(qR)\cdot cos(qR)}{(qR)^3} \\ 
    3636    \Lambda(q) &= \frac{\int_0^{ql}\frac{sin(t)}{t}dt}{ql} \\ 
     
    4040(volume of the *N* pearls/rods). *V* is the total volume of the necklace. 
    4141 
     42.. note:: 
     43 
     44   *num_pearls* must be an integer. 
     45 
    4246The 2D scattering intensity is the same as $P(q)$ above, regardless of the 
    4347orientation of the *q* vector. 
    44  
    45 The returned value is scaled to units of |cm^-1| and the parameters of the 
    46 pearl_necklace model are the following 
    47  
    48 NB: *num_pearls* must be an integer. 
    4948 
    5049References 
     
    5251 
    5352.. [#] 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 
    5555.. [#] L. Onsager, *Ann. New York Acad. Sci.*, 51 (1949) 627-659 
    5656 
     
    6666 
    6767* **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 
    7070* **Source added by :** Steve King **Date:** March 25, 2019 
    7171""" 
Note: See TracChangeset for help on using the changeset viewer.