Changeset 667a6f2 in sasmodels


Ignore:
Timestamp:
Mar 15, 2016 5:36:12 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:
b8e5e21
Parents:
35b4c47
Message:

compare sasview to sasmodels without background since it is handled differently

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/convert.py

    r17bbadd r667a6f2  
    165165    if name in MODELS_WITHOUT_BACKGROUND: 
    166166        pars['background'] = 0 
     167    # sasview multiplies background by structure factor 
     168    if '*' in name: 
     169        pars['background'] = 0 
    167170 
    168171    # If it is a product model P*S, then check the individual forms for special 
Note: See TracChangeset for help on using the changeset viewer.