Changeset 485aee2 in sasmodels for sasmodels/models/bcc.py
- Timestamp:
- Mar 9, 2015 2:45:01 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:
- 3e428ec
- Parents:
- 5ef0633
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/bcc.py
r3c56da87 r485aee2 113 113 assumed to be isotropic and characterized by a Gaussian distribution. 114 114 """ 115 category ="shape:paracrystal"115 category = "shape:paracrystal" 116 116 117 parameters = [ 118 # [ "name", "units", default, [lower, upper], "type","description" ], 119 [ "dnn", "Ang", 220, [-inf,inf],"","Nearest neighbour distance"], 120 [ "d_factor", "", 0.06,[-inf,inf],"","Paracrystal distortion factor" ], 121 [ "radius", "Ang", 40, [0, inf], "volume","Particle radius" ], 122 [ "sld", "1e-6/Ang^2", 4, [-inf,inf], "", "Particle scattering length density" ], 123 [ "solvent_sld", "1e-6/Ang^2", 1, [-inf,inf], "", "Solvent scattering length density" ], 124 [ "theta", "degrees", 60, [-inf, inf], "orientation","In plane angle" ], 125 [ "phi", "degrees", 60, [-inf, inf], "orientation","Out of plane angle" ], 126 [ "psi", "degrees", 60, [-inf,inf], "orientation","Out of plane angle"] 127 ] 117 # ["name", "units", default, [lower, upper], "type","description" ], 118 parameters = [["dnn", "Ang", 220, [-inf, inf], "", "Nearest neighbour distance"], 119 ["d_factor", "", 0.06, [-inf, inf], "", "Paracrystal distortion factor"], 120 ["radius", "Ang", 40, [0, inf], "volume", "Particle radius"], 121 ["sld", "1e-6/Ang^2", 4, [-inf, inf], "", "Particle scattering length density"], 122 ["solvent_sld", "1e-6/Ang^2", 1, [-inf, inf], "", "Solvent scattering length density"], 123 ["theta", "degrees", 60, [-inf, inf], "orientation", "In plane angle"], 124 ["phi", "degrees", 60, [-inf, inf], "orientation", "Out of plane angle"], 125 ["psi", "degrees", 60, [-inf, inf], "orientation", "Out of plane angle"] 126 ] 128 127 129 source = [ "lib/J1.c", "lib/gauss150.c", "bcc.c"]128 source = ["lib/J1.c", "lib/gauss150.c", "bcc.c"] 130 129 131 130 # parameters for demo … … 143 142 # For testing against the old sasview models, include the converted parameter 144 143 # names and the target sasview model name. 145 oldname='BCCrystalModel' 146 oldpars=dict(sld='sldSph', 147 solvent_sld='sldSolv') 144 oldname = 'BCCrystalModel' 145 oldpars = dict(sld='sldSph', solvent_sld='sldSolv')
Note: See TracChangeset
for help on using the changeset viewer.