The LAMP Application

Generated by IDLdoc

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

lamp_mac/

sqw.pro


top sqw

result = sqw(in_wk, xinc, yinc, xmin, xmax, ymin, ymax, fast=fast)

******* *** ** User callable ** converts array w_in to energy/Q in w_out.....GJK 1994 ** Modified for 2-d x and y input - Nov 96 ** Example call: w2=sqw(1,0.05,0.1,-2.0,2.0,0,2) ** convert tof spectrum in w1 to energy and output in w2 ** with energy increment 0.05meV ** with Q increment 0.1 A-1 ** energy range between -2.0 and 2.0 mev ** q range between 0 and 2 A-1 ** ** Repeated use with different scales: ** w2=sqw(1,0.05,0.1,-2.0,2.0,0,2,/fast) ** Available if no other macro used since last sqw function

Parameters

in_wk
xinc
yinc
xmin
xmax
ymin
ymax

Keywords

fast

File attributes

Modification date: Tue Oct 1 14:36:01 2013
Lines: 84