Changeset 31df0c9 in sasmodels for sasmodels/models/core_shell_sphere.py


Ignore:
Timestamp:
Aug 1, 2017 4:38:47 PM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
1511c37c
Parents:
d49ca5c
Message:

tuned random model generation for more models

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/core_shell_sphere.py

    rd49ca5c r31df0c9  
    104104    radius = np.random.uniform(0, 1)*total_radius 
    105105    thickness = total_radius - radius 
    106     Vf = 10**np.random.uniform(4, 6)/total_radius**3 
    107106    pars = dict( 
    108         scale=Vf, 
    109107        radius=radius, 
    110108        thickness=thickness, 
Note: See TracChangeset for help on using the changeset viewer.