Changeset db74c47 in sasmodels


Ignore:
Timestamp:
Mar 20, 2016 11:11:57 AM (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:
b4aba0f
Parents:
65bf704
Message:

renamed sld's, improved docs, needs a lot of work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/micelle_spherical_core.py

    r0d0aee1 rdb74c47  
    22 
    33This model provides the form factor, $P(q)$, for a micelle with a spherical 
    4 core and Gaussian polymer chains attached to the surface. 
     4core and Gaussian polymer chains attached to the surface, thus may be applied 
     5to block copolymer micelles. To work well the Gaussian chains must be much smaller 
     6than the core, which is often not the case.  Please study the reference carefully. 
    57 
    68Definition 
     
    1618 
    1719 
    18 Reference 
    19 --------- 
     20References 
     21---------- 
    2022 
    2123J Pedersen, *J. Appl. Cryst.*, 33 (2000) 637-640 
     
    3739parameters = [ 
    3840    ["ndensity",      "1e15/cm^3",  8.94, [0.0, inf], "", "Number density of micelles"], 
    39     ["v_core",        "Ang^3",  62624.0,  [0.0, inf], "", "Core volume"], 
     41    ["v_core",        "Ang^3",  62624.0,  [0.0, inf], "", "Core volume "], 
    4042    ["v_corona",      "Ang^3",  61940.0,  [0.0, inf], "", "Corona volume"], 
    41     ["solvent_sld",   "1e-6/Ang^2", 6.4,  [0.0, inf], "", "Solvent scattering length density"], 
    42     ["core_sld",      "1e-6/Ang^2", 0.34, [0.0, inf], "", "Core scattering length density"], 
    43     ["corona_sld",    "1e-6/Ang^2", 0.8,  [0.0, inf], "", "Corona scattering length density"], 
    44     ["radius_core",   "Ang",       45.0,  [0.0, inf], "", "Radius of core"], 
     43    ["sld_solvent",   "1e-6/Ang^2", 6.4,  [0.0, inf], "", "Solvent scattering length density"], 
     44    ["sld_core",      "1e-6/Ang^2", 0.34, [0.0, inf], "", "Core scattering length density"], 
     45    ["sld_corona",    "1e-6/Ang^2", 0.8,  [0.0, inf], "", "Corona scattering length density"], 
     46    ["radius_core",   "Ang",       45.0,  [0.0, inf], "", "Radius of core ( must be >> radius_gyr )"], 
    4547    ["radius_gyr",    "Ang",       20.0,  [0.0, inf], "", "Radius of gyration of chains in corona"], 
    4648    ["d_penetration", "",           1.0,  [-inf, inf], "", "Factor to mimic non-penetration of Gaussian chains"], 
     
    5557            v_core=62624.0, 
    5658            v_corona=61940.0, 
    57             solvent_sld=6.4, 
    58             core_sld=0.34, 
    59             corona_sld=0.8, 
     59            sld_solvent=6.4, 
     60            sld_core=0.34, 
     61            sld_corona=0.8, 
    6062            radius_core=45.0, 
    6163            radius_gyr=20.0, 
     
    6567 
    6668oldname = 'MicelleSphCoreModel' 
    67 oldpars = dict(solvent_sld='rho_solv', 
    68                core_sld='rho_core', 
    69                corona_sld='rho_corona') 
     69oldpars = dict(sld_solvent='rho_solv', 
     70               sld_core='rho_core', 
     71               sld_corona='rho_corona') 
    7072 
    7173tests = [ 
    7274    [{}, 0.01, 15.3532], 
    7375    ] 
     76# RKH 20Mar2016 - need to check whether the core & corona volumes are per monomer ??? and how aggregation number works! 
Note: See TracChangeset for help on using the changeset viewer.