Changeset 2d81cfe in sasmodels for sasmodels/models/lamellar.py


Ignore:
Timestamp:
Nov 29, 2017 11:13:23 AM (6 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:
237b800f
Parents:
a839b22
Message:

lint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/lamellar.py

    r1511c37c r2d81cfe  
    4343 
    4444also in J. Phys. Chem. B, 105, (2001) 11081-11088 
    45  
    46  
    4745""" 
    4846 
     47import numpy as np 
    4948from numpy import inf 
    5049 
     
    9089 
    9190def random(): 
    92     import numpy as np 
    9391    thickness = 10**np.random.uniform(1, 4) 
    9492    pars = dict( 
     
    104102            thickness=40, 
    105103            thickness_pd=0.2, thickness_pd_n=40) 
     104#  [(qx1, qy1), (qx2, qy2), ...], [I(qx1,qy1), I(qx2,qy2), ...]], 
    106105tests = [ 
    107         [ {'scale': 1.0, 'background': 0.0, 'thickness': 50.0, 
    108            'sld': 1.0, 'sld_solvent': 6.3, 'thickness_pd': 0.0}, 
    109           [0.001], [882289.54309]] 
    110         ] 
    111 # ADDED by: converted by PAK? (or RKH?)     ON: 16Mar2016 - RKH adding unit tests from sasview to early 2015 conversion 
    112 #  [(qx1, qy1), (qx2, qy2), ...], [I(qx1,qy1), I(qx2,qy2), ...]], 
     106    [{'scale': 1.0, 'background': 0.0, 'thickness': 50.0, 
     107      'sld': 1.0, 'sld_solvent': 6.3, 'thickness_pd': 0.0}, 
     108     [0.001], [882289.54309]] 
     109] 
     110# ADDED by: converted by PAK? (or RKH?) 
     111# ON: 16Mar2016 - RKH adding unit tests from sasview to early 2015 conversion 
Note: See TracChangeset for help on using the changeset viewer.