Changeset d9ec8f9 in sasmodels for sasmodels/models


Ignore:
Timestamp:
Aug 7, 2017 2:56:57 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:
c95d9255
Parents:
92708d8
Message:

elliptical cylinder axis ratio is 1 or greater

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/elliptical_cylinder.py

    r8c89d06 rd9ec8f9  
    162162    V = 10**np.random.uniform(3, 9) 
    163163    length = 10**np.random.uniform(1, 3) 
    164     axis_ratio = 10**np.random.uniform(-2, 2) 
     164    axis_ratio = 10**np.random.uniform(0, 2) 
    165165    radius_minor = np.sqrt(V/length/axis_ratio) 
    166166    Vf = 10**np.random.uniform(-4, -2) 
Note: See TracChangeset for help on using the changeset viewer.