Changeset bba9361 in sasmodels for sasmodels/models/spinodal.py


Ignore:
Timestamp:
Oct 8, 2016 12:35:29 PM (8 years ago)
Author:
richardh
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
59994557
Parents:
066f296
Message:

expanded docu in polymer_micelle, docu bugs in spinodal fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/spinodal.py

    r43fe34b rbba9361  
    55This model calculates the SAS signal of a phase separating solution under spinodal decomposition.  
    66The scattering intensity $I(q)$ is calculated as 
    7 .. math:: I(q) = I_{max}\frac{(1+\gamma/2)x^2}{\gamma/2+x^{2+\gamma}}+B 
    8 where $x=q/q_0$ and $B$ is a flat background. The characteristic structure length 
    9  scales with the correlation peak at $q_0$. The exponent $\gamma$ is equal to  
     7 
     8.. math::  
     9    I(q) = I_{max}\frac{(1+\gamma/2)x^2}{\gamma/2+x^{2+\gamma}}+B 
     10 
     11where $x=q/q_0$ and $B$ is a flat background. The characteristic structure length  
     12scales with the correlation peak at $q_0$. The exponent $\gamma$ is equal to  
    1013$d+1$ with d the dimensionality of the off-critical concentration mixtures. 
    11 A transition to $\gamma=2 d$is seen near the percolation treshold into the  
     14A transition to $\gamma=2d$ is seen near the percolation threshold into the  
    1215critical concentration regime. 
    1316 
     
    4346# pylint: disable=bad-whitespace, line-too-long 
    4447#             ["name", "units", default, [lower, upper], "type", "description"], 
    45 parameters = [["scale",    "",  1.0, [-inf, inf], "", "Scale factor"], 
    46               ["gamma",      "",      3.0, [-inf, inf], "", "Exponent"], 
     48parameters = [["scale",    "",      1.0, [-inf, inf], "", "Scale factor"], 
     49              ["gamma",      "",    3.0, [-inf, inf], "", "Exponent"], 
    4750              ["q_0",  "1/Ang",     0.1, [-inf, inf], "", "Correlation peak position"] 
    4851             ] 
Note: See TracChangeset for help on using the changeset viewer.