Changeset 8c9dbc9 in sasmodels


Ignore:
Timestamp:
Feb 16, 2016 10:18:06 AM (9 years ago)
Author:
Doucet, Mathieu <doucetm@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
49fe9d5
Parents:
edc9f8d
git-author:
Doucet, Mathieu <doucetm@…> (02/16/16 10:16:26)
git-committer:
Doucet, Mathieu <doucetm@…> (02/16/16 10:18:06)
Message:

fix pylint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/core_shell_sphere.py

    redc9f8d r8c9dbc9  
    1717    F^2(q)=\frac{3}{V_s}\left[V_c(\rho_c-\rho_s)\frac{\sin(qr_c)-qr_c\cos(qr_c)}{(qr_c)^3}+ 
    1818    V_s(\rho_s-\rho_{solv})\frac{\sin(qr_s)-qr_s\cos(qr_s)}{(qr_s)^3}\right] 
    19          
    20          
     19 
    2120where $V_s$ is the volume of the outer shell, $V_c$ is 
    2221the volume of the core, $r_s$ is the radius of the shell, $r_c$ is the radius of the 
     
    9998    return whole, whole - core 
    10099 
    101 tests = [ 
    102          [{'radius': 20.0, 'thickness': 10.0}, 'ER', 30.0 ], 
    103          [{'radius': 20.0, 'thickness': 10.0}, 'VR', 0.703703704 ], 
     100tests = [[{'radius': 20.0, 'thickness': 10.0}, 'ER', 30.0], 
     101         [{'radius': 20.0, 'thickness': 10.0}, 'VR', 0.703703704], 
    104102 
    105103         # The SasView test result was 0.00169, with a background of 0.001 
     
    110108           'solvent_sld':3.0, 
    111109           'background':0.0 
    112           }, 0.4, 0.000698838], 
    113         ] 
     110          }, 0.4, 0.000698838]] 
Note: See TracChangeset for help on using the changeset viewer.