Changeset 3eb6b90 in sasmodels
- Timestamp:
- Feb 18, 2016 1:16:50 PM (9 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:
- 94bd809
- Parents:
- 04b0b30
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/lamellarFFHG.py
r7f47777 r3eb6b90 68 68 category = "shape:lamellae" 69 69 70 # pylint: disable=bad-whitespace, line-too-long 70 71 # ["name", "units", default, [lower, upper], "type","description"], 71 parameters = [["tail_length", "Ang", 15, [0, inf], "volume", 72 "Tail thickness"], 73 ["head_length", "Ang", 10, [0, inf], "volume", 74 "head thickness"], 75 ["sld", "1e-6/Ang^2", 0.4, [-inf,inf], "", 76 "Tail scattering length density"], 77 ["head_sld", "1e-6/Ang^2", 3.0, [-inf,inf], "", 78 "Head scattering length density"], 79 ["solvent_sld", "1e-6/Ang^2", 6, [-inf,inf], "", 80 "Solvent scattering length density"], 81 ] 72 parameters = [["tail_length", "Ang", 15, [0, inf], "volume", "Tail thickness"], 73 ["head_length", "Ang", 10, [0, inf], "volume", "head thickness"], 74 ["sld", "1e-6/Ang^2", 0.4, [-inf,inf], "", "Tail scattering length density"], 75 ["head_sld", "1e-6/Ang^2", 3.0, [-inf,inf], "", "Head scattering length density"], 76 ["solvent_sld", "1e-6/Ang^2", 6, [-inf,inf], "", "Solvent scattering length density"]] 77 # pylint: enable=bad-whitespace, line-too-long 82 78 83 79 # No volume normalization despite having a volume parameter … … 113 109 114 110 demo = dict(scale=1, background=0, 115 tail_length=15, head_length=10,111 tail_length=15, head_length=10, 116 112 sld=0.4, head_sld=3.0, solvent_sld=6.0, 117 tail_length_pd= 118 head_length_pd= 113 tail_length_pd=0.2, tail_length_pd_n=40, 114 head_length_pd=0.01, head_length_pd_n=40) 119 115 120 116 oldname = 'LamellarFFHGModel' … … 122 118 sld='sld_tail', head_sld='sld_head', solvent_sld='sld_solvent') 123 119 # 124 tests = [ 125 [ {'scale': 1.0, 'background' : 0.0, 'tail_length' : 15.0, 'head_length' : 10.0,'sld' : 0.4, 126 'head_sld' : 3.0, 'solvent_sld' : 6.0, }, [0.001], [653143.9209]] 127 ] 128 129 120 tests = [[{'scale': 1.0, 'background': 0.0, 'tail_length': 15.0, 'head_length': 10.0, 121 'sld': 0.4, 'head_sld': 3.0, 'solvent_sld': 6.0}, [0.001], [653143.9209]]]
Note: See TracChangeset
for help on using the changeset viewer.