Changeset 60
- Timestamp:
- Mar 21, 2007 12:05:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/SANSReduction/trunk/Put in User Procedures/SANS_Reduction_v5.00/WriteQIS.ipf
r41 r60 547 547 // Incorporates eqn. 3-15 from J. Appl. Cryst. (1995) v. 28 p105-114 548 548 // 549 // - 21 MAR 07 uses projected BS diameter on the detector 550 // 549 551 Function/S getResolution(inQ,lambda,lambdaWidth,DDet,apOff,S1,S2,L1,L2,BS,del_r,SigmaQ,QBar,fSubS) 550 552 Variable inQ, lambda, lambdaWidth, DDet, apOff, S1, S2, L1, L2, BS, del_r … … 580 582 L2 *= 100.0 581 583 L2 += apOff 582 583 BS *= 0.5*0.1 //convert to radius and [cm]584 584 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 585 591 586 592 //Start resolution calculation
Note: See TracChangeset
for help on using the changeset viewer.