Changeset 55a8316 in sasmodels


Ignore:
Timestamp:
Jan 15, 2016 4:42:22 AM (9 years ago)
Author:
piotr
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:
421e55c
Parents:
a7f909a
Message:

Convert TwoLorentzian? model

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/convert.py

    r716abe0 r55a8316  
    9898    # Note: update compare.constrain_pars to match 
    9999    name = model_definition.name 
    100     if name in ('teubner_strey', 'broad_peak'): 
     100    if name in ('teubner_strey', 'broad_peak', 'two_lorentzian'): 
    101101        if oldpars.pop('scale', 1.0) != 1.0: 
    102102            warnings.warn("parameter scale not used in sasview %s"%name) 
     
    121121    # Note: update convert.revert_model to match 
    122122    name = model_definition.name 
    123     if name in ('teubner_strey','broad_peak'): 
     123    if name in ('teubner_strey','broad_peak', 'two_lorentzian'): 
    124124        pars['scale'] = 1 
    125125    elif name in ('guinier',): 
Note: See TracChangeset for help on using the changeset viewer.