Ignore:
Timestamp:
Oct 23, 2008 5:39:12 PM (14 years ago)
Author:
srkline
Message:

A variety of fixes to make some procedures compatible with the new Packages:NIST subfolder structure

Also, some additional changes to include the proper procedures when loading overall packages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/MultScatter_MonteCarlo_2D.ipf

    r430 r431  
    227227                  // DONE = 1 
    228228                  // 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 
    229230                         
    230231                        ran = abs(enoise(1))            //[0,1] 
    231                                         theta = pi*ran 
     232                                        theta = acos(2*ran-1)            
    232233                         
    233234                        ran = abs(enoise(1))            //[0,1] 
Note: See TracChangeset for help on using the changeset viewer.