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

    r2d81cfe rb297ba9  
    8787def Iq(q, second_moment, adsorbed_amount, density_shell, radius, 
    8888       volfraction, sld_shell, sld_solvent): 
     89    """Return I(q) for adsorbed layer model.""" 
    8990    with errstate(divide='ignore'): 
    9091        aa = ((sld_shell - sld_solvent)/density_shell * adsorbed_amount) / q 
     
    9697 
    9798def random(): 
     99    """Return a random parameter set for the model.""" 
    98100    # only care about the value of second_moment: 
    99101    #    curve = scale * e**(-second_moment^2 q^2)/q^2 
Note: See TracChangeset for help on using the changeset viewer.