The LAMP Application

Generated by IDLdoc

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

lamp_mac/D7_b/

omega_scan.pro


top omega_scan

result = omega_scan(w_in0, ib, reverse=reverse, all_angles=all_angles, pos_angles=pos_angles, neg_angles=neg_angles)

******* ********** ** User callable ** For D7 data only ** ** Input: 2-D or 3-D workspace containing a non-tof omega-scan read in with ** rdand, normalised with normalise.pro and optionally separated into components ** with components.pro ** Rearranges to a 1-D or 2-D workspace with detector angle theta as x-axis and ** omega angle as y-axis ** ** Assumes the positive direction of omega corresponds to a clockwise rotation of ** the crystal viewed from above. If this is not the case, then the keyword ** "/reverse" must be used in the call to omega_scan. ** ** KEYWORDS: ** /neg_angles : only use data with negative angles ** /pos_angles : only use data with positive angles ** /all_angles : use all banks (defaults) ** /reverse : change the sign of omega to mimic reverse direction scan ** ** (ib is obsolete, kept for backwards compatability) ** ** DIMENSIONS: ** input format: w(32_or_64,nphases,nruns) - unless nphases or nruns is 1 ** output: w(nspectra,nruns,nphases) - unless nphases is 1 ** ** COMMAND SYNTAX ** w5=omega_scan(w4[,/all_angles][,/pos_angles][,/neg_angles][,/reverse]) ** ** (optional keywords shown in square brackets) ** ** KHA,JRS 9/4/07 ** ------------------------------------------------------------------------------- ** *******************************************************************************

Parameters

w_in0
ib

Keywords

reverse
all_angles
pos_angles
neg_angles

File attributes

Modification date: Tue Oct 1 14:43:50 2013
Lines: 202