Changeset 6cf1cb3 in sasmodels for sasmodels/models/hollow_cylinder.py
- Timestamp:
- Nov 17, 2015 4:57:11 PM (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:
- 48be770
- Parents:
- 143d596
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/hollow_cylinder.py
r84e6942 r6cf1cb3 78 78 # ["name", "units", default, [lower, upper], "type","description"], 79 79 parameters = [ 80 ["radius", "Ang", 30.0, [0, inf], " ", "Cylinder radius"],81 ["core_radius", "Ang", 20.0, [0, inf], " ", "Hollow core radius"],82 ["length", "Ang", 400.0, [0, inf], " ", "Cylinder length"],80 ["radius", "Ang", 30.0, [0, inf], "volume", "Cylinder radius"], 81 ["core_radius", "Ang", 20.0, [0, inf], "volume", "Hollow core radius"], 82 ["length", "Ang", 400.0, [0, inf], "volume", "Cylinder length"], 83 83 ["sld", "1/Ang^2", 6.3, [-inf, inf], "", "Cylinder sld"], 84 84 ["solvent_sld", "1/Ang^2", 1, [-inf, inf], "", "Solvent sld"], 85 [" axis_theta", "[deg]", 90, [-360, 360], "", "Theta angle"],86 [" axis_phi", "[deg]", 0, [-360, 360], "", "Phi angle"],85 ["theta", "[deg]", 90, [-360, 360], "orientation", "Theta angle"], 86 ["phi", "[deg]", 0, [-360, 360], "orientation", "Phi angle"], 87 87 ] 88 88 … … 91 91 # parameters for demo 92 92 demo = dict(scale=1.0,background=0.0,length=400.0,radius=30.0,core_radius=20.0, 93 sld=6.3,solvent_sld=1,axis_theta=90,axis_phi=0) 93 sld=6.3,solvent_sld=1,theta=90,phi=0, 94 radius_pd=.2, radius_pd_n=9, 95 length_pd=.2, length_pd_n=10, 96 theta_pd=10, theta_pd_n=5, 97 ) 94 98 95 99 # For testing against the old sasview models, include the converted parameter … … 98 102 oldpars = dict(scale='scale',background='background',radius='radius', 99 103 core_radius='core_radius',sld='sldCyl',length='length', 100 solvent_sld='sldSolv', axis_phi='axis_phi',axis_theta='axis_theta')104 solvent_sld='sldSolv',phi='axis_phi',theta='axis_theta')
Note: See TracChangeset
for help on using the changeset viewer.