Changeset e77872e in sasmodels


Ignore:
Timestamp:
Oct 10, 2016 1:13:44 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:
5a22548
Parents:
479d0f3
Message:

revised docs for multilayer_vesicle, fixed typo in docs for vesicle

Location:
sasmodels/models
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/multilayer_vesicle.py

    r9a4811a re77872e  
    55This model is a trivial extension of the core_shell_sphere function to include 
    66*N* shells where the core is filled with solvent and the shells are interleaved 
    7 with layers of solvent. For *N = 1*, this returns the same as the vesicle model. 
    8 The shell thicknessess and SLD are constant across all shells as expected for 
     7with layers of solvent. For *N = 1*, this returns the same as the vesicle model, 
     8except for the normalisation, which here is to outermost volume. 
     9The shell thicknessess and SLD are constant for all shells as expected for 
    910a multilayer vesicle. 
    1011 
     
    2425.. note: 
    2526    The outer most radius 
    26     $radius + n_pairs * thicn_shell + (n_pairs - 1) * thick_solvent$ 
    27     is used as the effective radius for *S(Q)* when $P(Q) * S(Q)$ is applied. 
     27    $radius + n_pairs * thick_shell + (n_pairs - 1) * thick_solvent$ 
     28    is used for both the volume fraction normalization and for the  
     29    effective radius for *S(Q)* when $P(Q) * S(Q)$ is applied. 
    2830 
    2931For information about polarised and magnetic scattering, see 
     
    6264    sld_solvent: solvent scattering length density 
    6365    sld: shell scattering length density 
    64     n_pairs:number of pairs of water/shell 
     66    n_pairs:number of "shell plus solvent" layer pairs 
    6567    background: incoherent background 
    6668        """ 
     
    7173parameters = [ 
    7274    ["volfraction", "",  0.05, [0.0, 1],  "", "volume fraction of vesicles"], 
    73     ["radius", "Ang", 60.0, [0.0, inf],  "", "Core radius of the multishell"], 
    74     ["thick_shell", "Ang",        10.0, [0.0, inf],  "", "Shell thickness"], 
    75     ["thick_solvent", "Ang",        10.0, [0.0, inf],  "", "Water thickness"], 
    76     ["sld_solvent",    "1e-6/Ang^2",  6.4, [-inf, inf], "sld", "Core scattering length density"], 
     75    ["radius", "Ang", 60.0, [0.0, inf],  "", "radius of solvent filled core"], 
     76    ["thick_shell", "Ang",        10.0, [0.0, inf],  "", "thickness of one shell"], 
     77    ["thick_solvent", "Ang",        10.0, [0.0, inf],  "", "solvent thickness between shells"], 
     78    ["sld_solvent",    "1e-6/Ang^2",  6.4, [-inf, inf], "sld", "solvent scattering length density"], 
    7779    ["sld",   "1e-6/Ang^2",  0.4, [-inf, inf], "sld", "Shell scattering length density"], 
    78     ["n_pairs",     "",            2.0, [1.0, inf],  "", "Number of pairs of water and shell"], 
     80    ["n_pairs",     "",            2.0, [1.0, inf],  "", "Number of shell plus solvent layer pairs"], 
    7981    ] 
    8082# pylint: enable=bad-whitespace, line-too-long 
  • sasmodels/models/vesicle.py

    r42356c8 re77872e  
    7575        thickness: the shell thickness 
    7676        sld: the shell SLD 
    77         sld_slovent: the solvent (and core) SLD 
     77        sld_solvent: the solvent (and core) SLD 
    7878        background: incoherent background 
    7979        volfraction: shell volume fraction 
Note: See TracChangeset for help on using the changeset viewer.