Changeset ea05c87 in sasmodels for sasmodels/product.py


Ignore:
Timestamp:
Apr 4, 2016 4:47:27 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:
1e2a1ba
Parents:
9d96649 (diff), ec45c4f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/master' into polydisp

Conflicts:

sasmodels/models/spherical_sld.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/product.py

    raaf75b6 rea05c87  
    4141    if len(set(p.name for p in pars)) != len(pars): 
    4242        raise ValueError("Duplicate parameters in %s and %s"%(p_id)) 
    43     # For comparison with sasview, determine the old parameters. 
    44     oldname = [p_info['oldname'], s_info['oldname']] 
    45     oldpars = {'scale':'scale_factor'} 
    46     oldpars.update(p_info['oldpars']) 
    47     oldpars.update(s_info['oldpars']) 
    48  
    4943    model_info = {} 
    5044    model_info['id'] = '*'.join((p_id, s_id)) 
     
    6256    #model_info['source'] = [] 
    6357    # Iq, Iqxy, form_volume, ER, VR and sesans 
    64     model_info['oldname'] = oldname 
    65     model_info['oldpars'] = oldpars 
    6658    model_info['composition'] = ('product', [p_info, s_info]) 
    6759    return model_info 
Note: See TracChangeset for help on using the changeset viewer.