Changeset b297ba9 in sasmodels for sasmodels/models/ellipsoid.py


Ignore:
Timestamp:
Mar 20, 2019 7:03:50 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:
4e28511
Parents:
0d362b7
Message:

lint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/ellipsoid.py

    r99658f6 rb297ba9  
    126126from numpy import inf, sin, cos, pi 
    127127 
    128 try: 
    129     from numpy import cbrt 
    130 except ImportError: 
    131     def cbrt(x): return x ** (1.0/3.0) 
    132  
    133128name = "ellipsoid" 
    134129title = "Ellipsoid of revolution with uniform scattering length density." 
     
    174169 
    175170def random(): 
     171    """Return a random parameter set for the model.""" 
    176172    volume = 10**np.random.uniform(5, 12) 
    177173    radius_polar = 10**np.random.uniform(1.3, 4) 
Note: See TracChangeset for help on using the changeset viewer.