Changeset b297ba9 in sasmodels for sasmodels/models/fuzzy_sphere.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/fuzzy_sphere.py

    ree60aa7 rb297ba9  
    8282# pylint: enable=bad-whitespace,line-too-long 
    8383 
    84 source = ["lib/sas_3j1x_x.c","fuzzy_sphere.c"] 
     84source = ["lib/sas_3j1x_x.c", "fuzzy_sphere.c"] 
    8585have_Fq = True 
    8686effective_radius_type = ["radius", "radius + fuzziness"] 
    8787 
    8888def random(): 
     89    """Return a random parameter set for the model.""" 
    8990    radius = 10**np.random.uniform(1, 4.7) 
    9091    fuzziness = 10**np.random.uniform(-2, -0.5)*radius  # 1% to 31% fuzziness 
Note: See TracChangeset for help on using the changeset viewer.