Changeset 4553dae in sasmodels for sasmodels/models/mass_fractal.py


Ignore:
Timestamp:
Aug 7, 2017 11:00:01 AM (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:
92708d8
Parents:
0f6c41c
Message:

don't generate psi dispersity if shape has rotational symmetry

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/mass_fractal.py

    r232bb12 r4553dae  
    9292    radius = 10**np.random.uniform(0.7, 4) 
    9393    cutoff_length = 10**np.random.uniform(0.7, 2)*radius 
    94     # TODO: fractal dimension should range from 1 to 5 
     94    # TODO: fractal dimension should range from 1 to 6 
    9595    fractal_dim_mass = 2*np.random.beta(3, 4) + 1 
    9696    Vf = 10**np.random.uniform(-4, -1) 
Note: See TracChangeset for help on using the changeset viewer.