Changeset 0dd4199 in sasmodels for sasmodels/convert.py
- 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
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.