Changeset ce8bed9 in sasmodels


Ignore:
Timestamp:
Mar 19, 2016 3:59:05 PM (8 years ago)
Author:
richardh
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
bad8b12
Parents:
aa24114
Message:

tidy docs and rename solvent_sld

Location:
sasmodels/models
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/flexible_cylinder.py

    raa24114 rce8bed9  
    3232The returned value is in units of $cm^{-1}$, on absolute scale. 
    3333 
    34 In the parameters, the sldCyl and sldSolv represent the SLD of the chain/cylinder 
     34In the parameters, the sld and sld\_solvent represent the SLD of the cylinder 
    3535and solvent respectively. 
    3636 
  • sasmodels/models/flexible_cylinder_ex.py

    r43b7eea rce8bed9  
    2424----------- 
    2525 
    26 The function calculated is from the reference given below. From that paper, 
    27 "Method 3 With Excluded Volume" is used. 
     26The function calculated in a similar way to that for the flexible_cylinder model 
     27from the reference given below using the author's "Method 3 With Excluded Volume". 
    2828The model is a parameterization of simulations of a discrete representation of 
    2929the worm-like chain model of Kratky and Porod applied in the pseudo-continuous 
     
    6262maintain this inequality. 
    6363 
    64 The returned value is in units of $cm^-1$, on absolute scale. 
     64The returned value is in units of $cm^{-1}$, on absolute scale. 
    6565 
    66 In the parameters, the $sldCyl$ and $sldSolv$ represent the SLD of the 
     66In the parameters, the $sld$ and $sld\_solvent$ represent the SLD of the 
    6767chain/cylinder and solvent respectively. The *scale*, and the contrast are both 
    6868multiplicative factors in the model and are perfectly correlated. One or both of 
     
    103103    ["kuhn_length", "Ang",        100.0, [0, inf],    "volume", "Kuhn length of the flexible cylinder"], 
    104104    ["radius",      "Ang",         20.0, [0, inf],    "volume", "Radius of the flexible cylinder"], 
    105     ["axis_ratio",  "",             1.5, [0, inf],    "",       "Axis_ratio (major_radius/radius"], 
     105    ["axis_ratio",  "",             1.5, [0, inf],    "",       "Axis_ratio (major_radius/minor_radius"], 
    106106    ["sld",         "1e-6/Ang^2",   1.0, [-inf, inf], "",       "Cylinder scattering length density"], 
    107     ["solvent_sld", "1e-6/Ang^2",   6.3, [-inf, inf], "",       "Solvent scattering length density"], 
     107    ["sld_solvent", "1e-6/Ang^2",   6.3, [-inf, inf], "",       "Solvent scattering length density"], 
    108108    ] 
    109109# pylint: enable=bad-whitespace, line-too-long 
     
    117117            axis_ratio=1.5, 
    118118            sld=1.0, 
    119             solvent_sld=6.3) 
     119            sld_solvent=6.3) 
    120120 
    121121oldname = 'FlexCylEllipXModel' 
    122 oldpars = dict(sld='sldCyl', solvent_sld='sldSolv') 
     122oldpars = dict(sld='sldCyl', sld_solvent='sldSolv') 
    123123 
    124124 
     
    131131    #  'axis_ratio':    1.5, 
    132132    #  'sld':           1.0, 
    133     #  'solvent_sld':   6.3, 
     133    #  'sld_solvent':   6.3, 
    134134    #  'background':    0.0001, 
    135135    # }, 0.001, 3509.2187], 
     
    141141      'axis_ratio':    1.5, 
    142142      'sld':           1.0, 
    143       'solvent_sld':   6.3, 
     143      'sld_solvent':   6.3, 
    144144      'background':    0.0001, 
    145145     }, 1.0, 0.00223819], 
     
    149149      'axis_ratio':    0.5, 
    150150      'sld':           6.0, 
    151       'solvent_sld':  12.3, 
     151      'sld_solvent':  12.3, 
    152152      'background':    0.001, 
    153153     }, 0.1, 0.390281], 
     
    157157      'axis_ratio':    4.5, 
    158158      'sld':           0.1, 
    159       'solvent_sld':   5.1, 
     159      'sld_solvent':   5.1, 
    160160      'background':    0.0, 
    161161     }, 1.0, 0.0016338264790] 
Note: See TracChangeset for help on using the changeset viewer.