Changeset 51241113 in sasmodels


Ignore:
Timestamp:
Aug 30, 2016 6:17:23 PM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
e822c97
Parents:
f54fb70
Message:

spherical_sld: fix conversion to sasview 3.1 parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/convert.py

    r6dc78e4 r51241113  
    334334            pars['n_shells'] = math.ceil(pars['n_shells']) 
    335335            pars['n_steps'] = math.ceil(pars['n_steps']) 
    336             for k in range(1, 12): 
     336            for k in range(1, 11): 
    337337                pars['shape%d'%k] = math.trunc(pars['shape%d'%k]+0.5) 
    338             for k in range(2, 12): 
     338            for k in range(2, 11): 
    339339                pars['thickness%d_pd_n'%k] = 0 
    340340                pars['interface%d_pd_n'%k] = 0 
Note: See TracChangeset for help on using the changeset viewer.