Changeset 2c1cd96 in sasmodels


Ignore:
Timestamp:
Feb 16, 2016 10:16:26 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:
3a45c2c
Parents:
edc9f8d
Message:

fix pylint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/core_shell_sphere.py

    redc9f8d r2c1cd96  
    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 
     
    111109           'background':0.0 
    112110          }, 0.4, 0.000698838], 
    113         ] 
     111         ] 
Note: See TracChangeset for help on using the changeset viewer.