The LAMP Application

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

lamp_mac/D2B/

calib_eff_2d_bms.pro


top calib_eff_2d_bms

result = calib_eff_2d_bms(numor, n, wi, cal_fil_in, cal_fil_out, title)

******* **************** ** ** User callable ** The call is e.g. w2=calib_eff_2d(51577, 5, 20, 'd2bcal.raw', 'd2bcal.eff', 'title') ** ** 51577 is the first scan, 5 is the number of scans, 20 is the number of a working workspace ** w2 is an output workspace containing the table of efficiencies ** d2bcal.raw is the old file, d2bcal.eff is the new one ** data must be read in with a calibration file that defines the active zones ** since efficiencies are to be determined for these zones, ** *** but the efficiencies table in *** ** *** the input calibration file should contain only 1's *** ** this macro as for calib_eff_tubes_1d, but efficiencies per vertical block (height hb) rather than per tube ** in "1d" version integrate over height at the start ** --------------------------------------------------- ** METHOD ** ------ ** Sum data using initial efficiencies to get average diffraction pattern ** Difference between each scan and the average gives efficiency per tube, height group and scan ** Average efficiency over different scans gives new effciency per tube, height group ** Repeat ** Currently the beamstop is not omitted. ** For this, identify tubes that scan the beam stop ** Use tube_score(scan,tube) ** ---------------------------------------------------

Parameters

numor
n
wi
cal_fil_in
cal_fil_out
title

File attributes

Modification date: Tue Oct 1 14:44:31 2013
Lines: 174