Changeset 07300ea in sasmodels
- Timestamp:
- Nov 28, 2016 12:52:56 AM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- bdd08df
- Parents:
- 98ce141
- Location:
- sasmodels/models
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/fractal_core_shell.py
r217590b r07300ea 1 1 r""" 2 Definition 3 ---------- 2 4 Calculates the scattering from a fractal structure with a primary building 3 5 block of core-shell spheres, as opposed to just homogeneous spheres in 4 the fractal model. 5 This model could find use for aggregates of coated particles, or aggregates 6 of vesicles. 7 8 Definition 9 ---------- 6 the fractal model. It is an extension of the well known Teixeira\ [#teixeira]_ 7 fractal model replacing the $P(q)$ of a solid sphere with that of a core-shell 8 sphere. This model could find use for aggregates of coated particles, or 9 aggregates of vesicles for example. 10 10 11 11 .. math:: 12 12 13 I(q) = \text{background} + P(q)S(q)13 I(q) = P(q)S(q) + \text{background} 14 14 15 The form factor $P(q)$ is that from core_shell model with $bkg$ = 0 16 15 Where $P(q)$ is the core-shell form factor and $S(q)$ is the 16 Teixeira\ [#teixeira]_ fractal structure factor both of which are given again 17 below: 17 18 18 19 .. math:: 19 20 20 P(q) =\frac{scale}{V_s}\left[3V_c(\rho_c-\rho_s)21 P(q) &= \frac{\phi}{V_s}\left[3V_c(\rho_c-\rho_s) 21 22 \frac{\sin(qr_c)-qr_c\cos(qr_c)}{(qr_c)^3}+ 22 23 3V_s(\rho_s-\rho_{solv}) 23 24 \frac{\sin(qr_s)-qr_s\cos(qr_s)}{(qr_s)^3}\right]^2 24 25 26 S(q) &= 1 + \frac{D_f\ \Gamma\!(D_f-1)}{[1+1/(q\xi)^2]^{(D_f-1)/2}} 27 \frac{\sin[(D_f-1)\tan^{-1}(q\xi)]}{(qr_s)^{D_f}} 25 28 26 while the fractal structure factor $S(q)$ is 29 where $\phi$ is the volume fraction of particles, $V_s$ is the volume of the 30 whole particle, $V_c$ is the volume of the core, $\rho_c$, $\rho_s$, and 31 $\rho_{solv}$ are the scattering length densities of the core, shell, and 32 solvent respectively, $r_c$ and $r_s$ are the radius of the core and the radius 33 of the whole particle respectively, $D_f$ is the fractal dimension, and |xi| the 34 correlation length. 35 36 Polydispersity of radius and thickness are also provided for. 27 37 28 .. math:: 29 30 S(q) = \frac{D_f\Gamma(D_f-1)\sin((D_f-1)\tan^{-1}(q\xi))} 31 {(qr_c)^{D_f}\left(1+\frac{1}{q^2\xi ^2} \right)^{\frac{D_f-1}{2}}} 32 33 where $D_f$ = fractal_dim, |xi| = cor_length, $r_c$ = (core) radius, and 34 $scale$ = volume fraction. 35 36 The fractal structure is as documented in the fractal model. 37 Polydispersity of radius and thickness is provided for. 38 39 For 2D data: The 2D scattering intensity is calculated in the same way as 1D, 40 where the $q$ vector is defined as 38 This model does not allow for anisotropy and thus the 2D scattering intensity 39 is calculated in the same way as 1D, where the $q$ vector is defined as 41 40 42 41 .. math:: … … 44 43 q = \sqrt{q_x^2 + q_y^2} 45 44 45 Our model is derived from the form factor calculations implemented in IGOR 46 macros by the NIST Center for Neutron Research\ [#Kline]_ 47 46 48 References 47 49 ---------- 48 50 49 See the core_shell and fractal model descriptions 51 .. [#teixeira] J Teixeira, *J. Appl. Cryst.*, 21 (1988) 781-785 52 .. [#Kline] S R Kline, *J Appl. Cryst.*, 39 (2006) 895 53 54 Authorship and Verification 55 ---------------------------- 56 57 * **Author:** NIST IGOR/DANSE **Date:** pre 2010 58 * **Last Modified by:** Paul Butler and Paul Kienzle **on:** November 27, 2016 59 * **Last Reviewed by:** Paul Butler and Paul Kienzle **on:** November 27, 2016 50 60 51 61 """ … … 54 64 55 65 name = "fractal_core_shell" 56 title = "" 57 description = """ 66 title = "Scattering from a fractal structure formed from core shell spheres" 67 description = """\ 68 Model for fractal aggregates of core-shell primary particles. It is based on 69 the Teixeira model for the S(q) of a fractal * P(q) for a core-shell sphere 58 70 59 """ 71 radius = the radius of the core 72 thickness = thickness of the shell 73 thick_layer = thickness of a layer 74 sld_core = the SLD of the core 75 sld_shell = the SLD of the shell 76 sld_solvent = the SLD of the solvent 77 volfraction = volume fraction of core-shell particles 78 fractal_dim = fractal dimension 79 cor_length = correlation length of the fractal like aggretates 80 """ 60 81 category = "shape-independent" 61 82 -
sasmodels/models/stacked_disks.py
r98ce141 r07300ea 83 83 84 84 Our model is derived from the form factor calculations implemented in a 85 c-library provided by the NIST Center for Neutron Research 86 (Kline, 2006)\ [#CIT_Kline]_ 85 c-library provided by the NIST Center for Neutron Research\ [#CIT_Kline]_ 87 86 88 87 References
Note: See TracChangeset
for help on using the changeset viewer.