Changeset 92708d8 in sasmodels


Ignore:
Timestamp:
Aug 7, 2017 2:13:37 PM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
d9ec8f9
Parents:
4553dae
Message:

re-enable ellipsoid ER

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/ellipsoid.py

    rbb39b4a r92708d8  
    180180    delta = 0.75 * b1 * b2 
    181181 
    182     #ddd = np.zeros_like(radius_polar) 
     182    ddd = np.zeros_like(radius_polar) 
    183183    ddd[valid] = 2.0 * (delta + 1.0) * radius_polar * radius_equatorial ** 2 
    184184    return 0.5 * ddd ** (1.0 / 3.0) 
Note: See TracChangeset for help on using the changeset viewer.