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


Ignore:
Timestamp:
Mar 20, 2019 7:03:50 PM (19 months 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/pringle.py

    r99658f6 rb297ba9  
    5050 
    5151import numpy as np 
    52 from numpy import inf, pi 
     52from numpy import inf 
    5353 
    5454name = "pringle" 
     
    7575source = ["lib/polevl.c", "lib/sas_J0.c", "lib/sas_J1.c", 
    7676          "lib/sas_JN.c", "lib/gauss76.c", "pringle.c"] 
    77 effective_radius_type = ["equivalent cylinder excluded volume", "equivalent volume sphere", "radius"] 
     77effective_radius_type = [ 
     78    "equivalent cylinder excluded volume", 
     79    "equivalent volume sphere", 
     80    "radius"] 
    7881 
    7982def random(): 
     83    """Return a random parameter set for the model.""" 
    8084    alpha, beta = 10**np.random.uniform(-1, 1, size=2) 
    8185    radius = 10**np.random.uniform(1, 3) 
Note: See TracChangeset for help on using the changeset viewer.