Changeset aad336c in sasmodels for sasmodels/models/fractal_core_shell.py
- Timestamp:
- Mar 21, 2016 9:59:28 AM (8 years ago)
- 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:
- 9418d75
- Parents:
- 728136f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/fractal_core_shell.py
r6794301 raad336c 44 44 q = \sqrt{q_x^2 + q_y^2} 45 45 46 Reference 47 --------- 46 References 47 ---------- 48 48 49 49 See the core_shell and fractal model descriptions … … 65 65 ["radius", "Ang", 60.0, [0, inf], "volume", "Sphere core radius"], 66 66 ["thickness", "Ang", 10.0, [0, inf], "volume", "Sphere shell thickness"], 67 [" core_sld", "1e-6/Ang^2", 1.0, [-inf, inf], "", "Sphere core scattering length density"],68 ["s hell_sld", "1e-6/Ang^2", 2.0, [-inf, inf], "", "Sphere shell scattering length density"],69 ["s olvent_sld", "1e-6/Ang^2", 3.0, [-inf, inf], "", "Solvent scattering length density"],67 ["sld_core", "1e-6/Ang^2", 1.0, [-inf, inf], "", "Sphere core scattering length density"], 68 ["sld_shell", "1e-6/Ang^2", 2.0, [-inf, inf], "", "Sphere shell scattering length density"], 69 ["sld_solvent", "1e-6/Ang^2", 3.0, [-inf, inf], "", "Solvent scattering length density"], 70 70 ["volfraction", "", 1.0, [0, inf], "", "Volume fraction of building block spheres"], 71 71 ["frac_dim", "", 2.0, [-inf, inf], "", "Fractal dimension"], … … 79 79 radius=20, 80 80 thickness=5, 81 core_sld=3.5,82 s hell_sld=1.0,83 s olvent_sld=6.35,81 sld_core=3.5, 82 sld_shell=1.0, 83 sld_solvent=6.35, 84 84 volfraction=0.05, 85 85 frac_dim=2.0, … … 87 87 88 88 oldname = 'FractalCoreShellModel' 89 oldpars = {} 89 oldpars = dict( sld_core='core_sld', 90 sld_shell='shell_sld', 91 sld_solvent='solvent_sld') 90 92 91 93 def ER(radius, thickness): … … 113 115 [{'radius': 60.0, 114 116 'thickness': 10.0, 115 ' core_sld': 1.0,116 's hell_sld': 2.0,117 's olvent_sld': 3.0,117 'sld_core': 1.0, 118 'sld_shell': 2.0, 119 'sld_solvent': 3.0, 118 120 'background': 0.0 119 121 }, 0.4, 0.00070126]]
Note: See TracChangeset
for help on using the changeset viewer.