Changeset 2d81cfe in sasmodels for sasmodels/models/triaxial_ellipsoid.py


Ignore:
Timestamp:
Nov 29, 2017 11:13:23 AM (6 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:
237b800f
Parents:
a839b22
Message:

lint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/triaxial_ellipsoid.py

    r31df0c9 r2d81cfe  
    126126""" 
    127127 
     128import numpy as np 
    128129from numpy import inf, sin, cos, pi 
    129130 
     
    174175 
    175176def random(): 
    176     import numpy as np 
    177177    a, b, c = 10**np.random.uniform(1, 4.7, size=3) 
    178178    pars = dict( 
     
    201201qx = q*cos(pi/6.0) 
    202202qy = q*sin(pi/6.0) 
    203 tests = [[{}, 0.05, 24.8839548033], 
    204         [{'theta':80., 'phi':10.}, (qx, qy), 166.712060266 ], 
    205         ] 
     203tests = [ 
     204    [{}, 0.05, 24.8839548033], 
     205    [{'theta':80., 'phi':10.}, (qx, qy), 166.712060266], 
     206    ] 
    206207del qx, qy  # not necessary to delete, but cleaner 
Note: See TracChangeset for help on using the changeset viewer.