Changeset 5024a56 in sasmodels for sasmodels/sasview_model.py


Ignore:
Timestamp:
Oct 30, 2018 6:37:19 PM (5 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
99658f6
Parents:
23df833
Message:

Make sure that the label radius_effective_mode is used throughout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/sasview_model.py

    raa8c6e0 r5024a56  
    859859    P = _make_standard_model('cylinder')() 
    860860    model = MultiplicationModel(P, S) 
    861     model.setParam('radius_effective_mode', 1.0) 
     861    model.setParam(product.RADIUS_MODE_ID, 1.0) 
    862862    value = model.evalDistribution([0.1, 0.1]) 
    863863    if np.isnan(value): 
Note: See TracChangeset for help on using the changeset viewer.