Ignore:
Timestamp:
Mar 20, 2019 5: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/core_shell_parallelepiped.py

    r99658f6 rb297ba9  
    173173   from Proquest <http://search.proquest.com/docview/304915826?accountid 
    174174   =26379>`_ 
    175 L. Onsager, Ann. New York Acad. Sci. 51, 627-659 (1949).  
     175L. Onsager, Ann. New York Acad. Sci. 51, 627-659 (1949). 
    176176 
    177177Authorship and Verification 
     
    186186 
    187187import numpy as np 
    188 from numpy import pi, inf, sqrt, cos, sin 
     188from numpy import inf 
    189189 
    190190name = "core_shell_parallelepiped" 
     
    229229have_Fq = True 
    230230effective_radius_type = [ 
    231     "equivalent cylinder excluded volume",  
     231    "equivalent cylinder excluded volume", 
    232232    "equivalent volume sphere", 
    233233    "half outer length_a", "half outer length_b", "half outer length_c", 
     
    237237 
    238238def random(): 
     239    """Return a random parameter set for the model.""" 
    239240    outer = 10**np.random.uniform(1, 4.7, size=3) 
    240241    thick = np.random.beta(0.5, 0.5, size=3)*(outer-2) + 1 
     
    269270# 2d values not tested against other codes or models 
    270271if 0:  # pak: model rewrite; need to update tests 
    271     qx, qy = 0.2 * cos(pi/6.), 0.2 * sin(pi/6.) 
     272    qx, qy = 0.2 * np.cos(np.pi/6.), 0.2 * np.sin(np.pi/6.) 
    272273    tests = [[{}, 0.2, 0.533149288477], 
    273274             [{}, [0.2], [0.533149288477]], 
Note: See TracChangeset for help on using the changeset viewer.