Changeset 60


Ignore:
Timestamp:
Mar 21, 2007 12:05:19 PM (15 years ago)
Author:
srkline
Message:

resolution calculation now uses the projected area of the beamstop for the shadowing factor and all other resolution calculations. per JGB 3/21/07 ticket 751

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sans/SANSReduction/trunk/Put in User Procedures/SANS_Reduction_v5.00/WriteQIS.ipf

    r41 r60  
    547547// Incorporates eqn. 3-15 from J. Appl. Cryst. (1995) v. 28 p105-114 
    548548// 
     549// - 21 MAR 07 uses projected BS diameter on the detector 
     550// 
    549551Function/S getResolution(inQ,lambda,lambdaWidth,DDet,apOff,S1,S2,L1,L2,BS,del_r,SigmaQ,QBar,fSubS) 
    550552        Variable inQ, lambda, lambdaWidth, DDet, apOff, S1, S2, L1, L2, BS, del_r 
     
    580582        L2 *= 100.0 
    581583        L2 += apOff 
    582  
    583         BS *= 0.5*0.1                   //convert to radius and [cm] 
    584584        del_r *= 0.1                            //width of annulus, convert mm to [cm] 
     585         
     586        BS *= 0.5*0.1                   //nominal BS diameter passed in, convert to radius and [cm] 
     587        // 21 MAR 07 SRK - use the projected BS diameter, based on a point sample aperture 
     588        Variable LB 
     589        LB = 20.1 + 1.61*BS                     //distance in cm from beamstop to anode plane (empirical) 
     590        BS = bs + bs*lb/(l2-lb)         //adjusted diameter of shadow from parallax 
    585591         
    586592        //Start resolution calculation 
Note: See TracChangeset for help on using the changeset viewer.