Changeset 3c24ccd in sasmodels for sasmodels/details.py


Ignore:
Timestamp:
Oct 18, 2017 12:03:43 PM (7 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:
ef8e68c
Parents:
fbb9397
Message:

add -weights option to sascomp to show dispersity distribution

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/details.py

    r8698a0d r3c24ccd  
    234234    # skipping scale and background when building values and weights 
    235235    values, dispersity, weights = zip(*mesh[2:npars+2]) if npars else ((), (), ()) 
    236     #weights = correct_theta_weights(kernel.info.parameters, values, weights) 
     236    weights = correct_theta_weights(kernel.info.parameters, values, weights) 
    237237    length = np.array([len(w) for w in weights]) 
    238238    offset = np.cumsum(np.hstack((0, length))) 
Note: See TracChangeset for help on using the changeset viewer.