The LAMP Application

Generated by IDLdoc

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

lamp_mac/BRISP/

sqw_pix_old.pro


top sqw_pix_old

result = sqw_pix_old(W_in, XY0=XY0, MASK=MASK, file_el=file_el, dE=dE, dQ=dQ, Qmax=Qmax, Ib=Ib, fileout=fileout)

******* *********** ** OUTPUT: Sqw from raw data, converting I(theta, channels) of each pixels, without rebinning. ** If Ib used, ambient background is subtracted. ki/kf factor is included. ** ** ***** ** INPUT: W_in = 3D raw data matrix ** ***** xy0 = [x0,y0] center determined by "brisp_center.pro" ** MASK = mask determined manually and by "brisp_center.pro" ** contains 1's for masked values otherwise 0's(default) ** file_el = file determined by "brisp_rad.pro" containing the elastic channel position ** **** OPTIONAL INPUTS ** Ib = 3D matrix containing background data randomnly generated by raw_bck.pro ** dE = energies step (default 0.5 meV) ** dQ = Q step (default 0.1 Ang^-1) ** Qmax = maximum Q at which Sqw is determined (default 2.0 Ang^-1) ** fileout = possibility to export ASCII files with Sqw data, one for each Q ** (but it is often convenient to normalise and then export data with out_Sqw) ** **** DIMENSIONS: Wout(dE,dQ) ** ** Call: w20=sqw_pix(w2,XY0=c,MASK=w40,file_el='van_el.dat',Ib=w13,dE=0.5,dQ=0.1,Qmax=2.0,fileout='test') ** ** (FF, April 2010) **

Parameters

W_in

Keywords

XY0
MASK
file_el
dE
dQ
Qmax
Ib
fileout

File attributes

Modification date: Tue Oct 1 14:45:32 2013
Lines: 208