Changeset ee60aa7 in sasmodels for sasmodels/models/spherical_sld.py


Ignore:
Timestamp:
Sep 10, 2018 4:16:46 PM (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:
d299327
Parents:
3f818b2
Message:

clean up effective radius functions; improve mono_gauss_coil accuracy; start moving VR into C

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/spherical_sld.py

    re8eff7b ree60aa7  
    2222 
    2323    0: erf($\nu z$) 
    24      
     24 
    2525    1: Rpow($z^\nu$) 
    26      
     26 
    2727    2: Lpow($z^\nu$) 
    28      
     28 
    2929    3: Rexp($-\nu z$) 
    30      
     30 
    3131    4: Lexp($-\nu z$) 
    3232 
     
    270270 
    271271 
    272 #def ER(n_shells, thickness, interface): 
    273 #    """Effective radius""" 
    274 #    n_shells = int(n_shells + 0.5) 
    275 #    total = (np.sum(thickness[:n_shells], axis=1) 
    276 #             + np.sum(interface[:n_shells], axis=1)) 
    277 #    return total 
    278  
    279  
    280272demo = { 
    281273    "n_shells": 5, 
Note: See TracChangeset for help on using the changeset viewer.