- Timestamp:
- Oct 23, 2008 5:39:12 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/MultScatter_MonteCarlo_2D.ipf
r430 r431 227 227 // DONE = 1 228 228 // phi and theta are random over the entire sphere of scattering 229 // !can't just choose random theta and phi, won't be random over sphere solid angle 229 230 230 231 ran = abs(enoise(1)) //[0,1] 231 theta = pi*ran232 theta = acos(2*ran-1) 232 233 233 234 ran = abs(enoise(1)) //[0,1]
Note: See TracChangeset
for help on using the changeset viewer.