Changeset 0dd4199 in sasmodels
- Timestamp:
- Aug 3, 2016 12:40:55 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:
- 4fd2c63
- Parents:
- d119f34
- Location:
- sasmodels
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/convert.py
rd119f34 r0dd4199 319 319 pars['n_shells'] = math.ceil(pars['n_shells']) 320 320 elif name == 'spherical_sld': 321 pars['n_shells'] = math.ceil(pars['n_shells']) 322 pars['npts_inter'] = math.ceil(pars['npts_inter']) 323 pars['func_inter0'] = math.trunc(pars['func_inter0']+0.5) 321 324 for k in range(1, 11): 325 pars['func_inter%d'%k] = math.trunc(pars['func_inter%d'%k]+0.5) 322 326 pars['thick_flat%d_pd_n'%k] = 0 323 327 pars['thick_inter%d_pd_n'%k] = 0 -
sasmodels/models/spherical_sld.py
r63c6a08 r0dd4199 207 207 ["sld_core", "1e-6/Ang^2", 2.07, [-inf, inf], "sld", "sld function flat"], 208 208 ["sld_solvent", "1e-6/Ang^2", 1.0, [-inf, inf], "sld", "sld function solvent"], 209 ["func_inter0", "", 0, [0, 4], "", "Erf:0, RPower:1, LPower:2, RExp:3, LExp:4"],209 ["func_inter0", "", 0, [0, 5], "", "Erf:0, RPower:1, LPower:2, RExp:3, LExp:4, Linear:5"], 210 210 ["thick_inter0", "Ang", 50.0, [0, inf], "volume", "intern layer thickness for core layer"], 211 211 ["nu_inter0", "", 2.5, [-inf, inf], "", "steepness parameter for core layer"], 212 212 ["sld_flat[n_shells]", "1e-6/Ang^2", 4.06, [-inf, inf], "sld", "sld function flat"], 213 213 ["thick_flat[n_shells]", "Ang", 100.0, [0, inf], "volume", "flat layer_thickness"], 214 ["func_inter[n_shells]", "", 0, [0, 4], "", "Erf:0, RPower:1, LPower:2, RExp:3, LExp:4"],214 ["func_inter[n_shells]", "", 0, [0, 5], "", "Erf:0, RPower:1, LPower:2, RExp:3, LExp:4, Linear:5"], 215 215 ["thick_inter[n_shells]", "Ang", 50.0, [0, inf], "volume", "intern layer thickness"], 216 216 ["nu_inter[n_shells]", "", 2.5, [-inf, inf], "", "steepness parameter"],
Note: See TracChangeset
for help on using the changeset viewer.