Changeset c7ff92c in sasmodels


Ignore:
Timestamp:
Jul 19, 2016 10:03:40 AM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
d680a2b
Parents:
a0494e9
Message:

fix ER for spherical_sld

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/spherical_sld.py

    ra0494e9 rc7ff92c  
    285285 
    286286def ER(n_shells, radius_core, thick_inter0, thick_inter, thick_flat): 
     287    n_shells = int(n_shells) 
    287288    total_thickness = thick_inter0 
    288289    total_thickness += np.sum(thick_inter[:n_shells], axis=0) 
     
    308309 
    309310#TODO: Not working yet 
     311""" 
    310312tests = [ 
    311313    # Accuracy tests based on content in test/utest_extra_models.py 
     
    322324    }, 0.001, 0.001], 
    323325] 
     326""" 
Note: See TracChangeset for help on using the changeset viewer.