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=
Parameters
- w_in
Keywords
- angle
- inc_xs
- abs_xs
- thick
- N
File attributes
Modification date: | Tue Oct 1 14:39:52 2013 |
Lines: | 153 |