The LAMP Application

Generated by IDLdoc

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

lamp_mac/D2B/

straight_2d.pro


top straight_2d

result = straight_2d(win, interpol=interpol, distance=distance, datp=datp, dX=dX, texture=texture, integrate=integrate, Weights=Weights)

******* *********** ** ** User callable ** The call is w6=straight_2d(w1 [,distance=samp2detect_Cm] [,/texture]) ** ** win is a 2D (3D) diffractogram i.e. I(2theta,h) ** where h is the physical height of the multidetector ** wout is a 2D diffractogram i.e. I(2theta,h) ** in which the DS cones should be straightened out ** For each detector height calculate a vector of 2theta ** angles and interpolate onto equatorial plane ** ** !!! WORKS BETTER WITHOUT INTERPOL (& with regular angles). ** !!! Do not use the same input/output workspace. ** ** h is the physical height of the multidetector ** r is the physical radius of the multidetector ** set them ** ** Oct 2008 care with 2thetha non regular if inter is not set ** deltaX is added to better control the regular function ** ** Dec 2008 Correct vertical position for textured diffractions (use keyword /TEXTURE) ** ** Dec 2009 !!! Replace -1 (no data) by -1E-9 ** Jan 2009 (texture) replace arrows*fY/fX by arrows*fX/fY ** ** Nov 2011 join straight_2d and straight_1d adding an integrate keyword ** compute a weighting vector for integration (returned in keyword)

Parameters

win

Keywords

interpol
distance
datp
dX
texture
integrate
Weights

File attributes

Modification date: Tue Oct 1 14:44:31 2013
Lines: 234