The LAMP Application

Generated by IDLdoc

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

lamp_mac/TOF/

vnorm.pro


top vnorm

result = vnorm(w_in, w_van0, cb1, cb2, min=min, max=max, tv=tv, Ns=Ns, ts=ts, ierr=ierr)

******* ***** ** User callable ** For IN4, IN5, IN6 and D7 data ** ** Normalises data in w_in vanadium data in w_van0 integrated between given limits. ** ** ARGUMENTS ** min : lower time channel limit of integration over vanadium elastic peak ** max : upper time channel limit ** tv : thickness of vanadium sample ** Ns : number density of sample (*10^22 per cm^3) ** ts : effective sample thickness ** (cb1 and cb2 are obsolete and kept for backwards compatability) ** ** DIMENSIONS ** w_in=w_out(nchannels, nspectra, nruns) (deals with multiple runs on TOF data) ** ** COMMAND SYNTAX ** w8=vnorm(w7,w20,min=,max=[,tv=,Ns=,ts=]) ** - normalises data in w7 to vanadium data in w20, ** (optional arguments shown in square brackets) ** ** JRS,KHA 7/12/07 + SR(for mibemol data) 4/12/03 ** ** DR 25/06/12 Nsd = Ns*1.E22 ; to keep Ns unchanged ** ** ARW 30/01/13 Modified to have correct channel width and L2 for D7 ** ARW 1/03/13 Modified to multiply the vanadium intensity by ** L2/channel width (necessary for absolute calibration) ** NOTE: 'QENS', 'DSCasc', 'QENS_raw' are NOT modified!

Parameters

w_in
w_van0
cb1
cb2

Keywords

min
max
tv
Ns
ts
ierr

File attributes

Modification date: Tue Oct 1 14:39:52 2013
Lines: 273