Changeset 2d81cfe in sasmodels for sasmodels/models/peak_lorentz.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/peak_lorentz.py

    r404ebbd r2d81cfe  
    2626 
    2727None. 
    28  
    2928""" 
    3029 
     30import numpy as np 
    3131from numpy import inf 
    3232 
     
    6060 
    6161def random(): 
    62     import numpy as np 
    6362    peak_pos = 10**np.random.uniform(-3, -1) 
    6463    peak_hwhm = peak_pos * 10**np.random.uniform(-3, 0) 
Note: See TracChangeset for help on using the changeset viewer.