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/hollow_rectangular_prism.py

    r99658f6 rb297ba9  
    9898 
    9999.. [#Nayuk2012] R Nayuk and K Huber, *Z. Phys. Chem.*, 226 (2012) 837-854 
    100 L. Onsager, Ann. New York Acad. Sci. 51, 627-659 (1949).  
     100L. Onsager, Ann. New York Acad. Sci. 51, 627-659 (1949). 
    101101 
    102102 
     
    110110 
    111111import numpy as np 
    112 from numpy import pi, inf, sqrt 
     112from numpy import inf 
    113113 
    114114name = "hollow_rectangular_prism" 
     
    151151have_Fq = True 
    152152effective_radius_type = [ 
    153     "equivalent cylinder excluded volume", "equivalent outer volume sphere",  
     153    "equivalent cylinder excluded volume", "equivalent outer volume sphere", 
    154154    "half length_a", "half length_b", "half length_c", 
    155155    "equivalent outer circular cross-section", 
     
    158158 
    159159def random(): 
     160    """Return a random parameter set for the model.""" 
    160161    a, b, c = 10**np.random.uniform(1, 4.7, size=3) 
    161162    # Thickness is limited to 1/2 the smallest dimension 
Note: See TracChangeset for help on using the changeset viewer.