May 23, 2013 9:43:12 AM (10 years ago)

Updated the NGB attenuator tables with Katie's new measurements from May 2013.

Made some changes to Auto-Fit to make it more useable. Will turn it "on" when documentation is finished.

Changed how the random deviate function is calculated to improve the estimates of multiple scattering. Now the q-range of integration is shifted to lower q for the USANS calculation (using very large objects). Also, the number of points used in the integration is chosen adaptively until a constant value of scattering cross section is obtained. There are still some functions where the integration fails (power laws). These will always fail. My best solution currently is to flag the times when the XS>100. Then the estimates are invalid. The 1D simulation is fine, the 2D is reasonably fine, but anything to do with multile scattering is incorrect.

1 edited


  • sans/Dev/trunk/NCNR_User_Procedures/Analysis/Packages/Wrapper_v40.ipf

    r901 r911  
    11971197                //save the graph separately as a PNG file, 2x screen 
    11981198                pictStr += nameStr 
    1199                 pictStr = pictStr[0,28]         //need a shorter name - why? 
     1199                pictStr = pictStr[0,24]+".png"          //need a shorter name - only 29 characters allowed - why? 
    12001200//              DoWindow/F $topGraph 
    12011201                // E=-5 is png @screen resolution 
Note: See TracChangeset for help on using the changeset viewer.