Changes in / [51973e1:25b82a1] in sasmodels
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/models/spherical_sld.py
r1bf66d9 r1448db7a 183 183 # pylint: enable=bad-whitespace, line-too-long 184 184 source = ["lib/librefl.c", "lib/sph_j1c.c", "spherical_sld.c"] 185 186 #def Iq(q, *args, **kw):187 # return q188 189 #def Iqxy(qx, *args, **kw):190 # return qx191 185 192 186 def profile(n_shells, radius_core, sld_core, sld_solvent, sld_flat, … … 253 247 return np.asarray(z), np.asarray(beta)*1e-6 254 248 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 250 def ER(n_shells, radius_core, thick_inter): 251 return np.sum(thick_inter[:n_shells], axis=0) + radius_core 257 252 258 253 def VR(core_radius, n, thickness):
Note: See TracChangeset
for help on using the changeset viewer.