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

    r48462b0 r2d81cfe  
    6868 
    6969B Hammouda, *Analysis of the Beaucage model, J. Appl. Cryst.*, (2010), 43, 1474-1478 
    70  
    7170""" 
    7271 
     
    7574import numpy as np 
    7675from numpy import inf, exp, sqrt, errstate 
    77 from scipy.special import erf 
     76from scipy.special import erf, gamma 
    7877 
    7978category = "shape-independent" 
     
    119118 
    120119def random(): 
    121     import numpy as np 
    122     from scipy.special import gamma 
    123120    level = np.minimum(np.random.poisson(0.5) + 1, 6) 
    124121    n = level 
Note: See TracChangeset for help on using the changeset viewer.