Changes in / [db74c47:b4aba0f] in sasmodels
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/conf.py
r22975f0 r39674a0 56 56 # General information about the project. 57 57 project = 'SAS Models' 58 copyright = '201 4, sasview team'58 copyright = '2016, sasview team' 59 59 60 60 # The version info for the project you're documenting, acts as replacement for -
sasmodels/sesans.py
ra154ad16 rc94577f 189 189 integral = besselj(0, q*SElength_i)*Iq*q 190 190 G[i] = np.sum(integral) 191 G0 = np.sum(Iq*q) 191 192 192 193 # [m^-1] step size in q, needed for integration … … 195 196 # integration step, convert q into [m**-1] and 2 pi circle integration 196 197 G *= dq*1e10*2*pi 197 198 P = exp(thickness*wavelength**2/(4*pi**2)*(G-G[0])) 198 G0 *= dq*1e10*2*pi 199 200 P = exp(thickness*wavelength**2/(4*pi**2)*(G-G0)) 199 201 200 202 return P
Note: See TracChangeset
for help on using the changeset viewer.