Changes in / [51973e1:25b82a1] in sasmodels


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/spherical_sld.py

    r1bf66d9 r1448db7a  
    183183# pylint: enable=bad-whitespace, line-too-long 
    184184source = ["lib/librefl.c",  "lib/sph_j1c.c", "spherical_sld.c"] 
    185  
    186 #def Iq(q, *args, **kw): 
    187 #    return q 
    188  
    189 #def Iqxy(qx, *args, **kw): 
    190 #    return qx 
    191185 
    192186def profile(n_shells, radius_core,  sld_core,  sld_solvent, sld_flat, 
     
    253247    return np.asarray(z), np.asarray(beta)*1e-6 
    254248 
    255 def ER(core_radius, n, thickness): 
    256     return np.sum(thickness[:n[0]], axis=0) + core_radius 
     249#TODO: Not quite right I suppose 
     250def ER(n_shells, radius_core, thick_inter): 
     251    return np.sum(thick_inter[:n_shells], axis=0) + radius_core 
    257252 
    258253def VR(core_radius, n, thickness): 
Note: See TracChangeset for help on using the changeset viewer.