The LAMP Application

Generated by IDLdoc

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

lamp_mac/TOF/

slab_tof.pro


top slab_tof

result = slab_tof(w_in, angle=angle, inc_xs=inc_xs, abs_xs=abs_xs, thick=thick, N=N)

******* ******** ** User callable ** For D7, IN4, IN5 and IN6 ** ** Takes a 2-D tof workspace and corrects for sample attenuation of the ** scattered neutrons assuming infinite slab geometry. ** ------------------------------- ** NB! Not yet tested on D7 data ** ------------------------------- ** ** ARGUMENTS ** angle : the angle in degrees of sample normal rel. to incident beam ** inc_xs: inchorent cross-section of sample (barns) ** abs_xs: absorption cross-section for thermal neutrons (lambda=1.8�) (barns) ** thick : thickness of sample (mm) ** N : number density of sample (*10^22 per cm^3) ** ** DIMENSIONS ** w_in(nchannels,nspectra) -> w_out(nchannels,nspectra) ** ** COMMAND SYNTAX ** w7=slab_tof(w6,angle=,inc_xs=,abs_xs=,thick=,N=) ** ** JRS, 15/11/02

Parameters

w_in

Keywords

angle
inc_xs
abs_xs
thick
N

File attributes

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