lamp_mac/D7_b/
qrebin.pro
top qrebin
result = qrebin(w_in, oms, omegashift=omegashift, fold=fold, nQ=nQ, dE=dE, Qmax=Qmax)
******* ******
** User callable
** For D7 and TOF data
**
** takes output workspace of omega_scan.pro containing omega-scan, converts to
** Q-space and rebins to a constant Qx-Qy grid in a single quadrant, giving
** sensible error bars! Deals with only one spin phase.
**
** ARGUMENTS:
** omegashift : offset in degrees of omega=0 position
** nQ : number of Qx/Qy bins per quadrant
** dE : energy transfer of data
**
** (oms is obsolete, kept for backwards compatability)
**
** KEYWORDS:
** fold : folds quadrants into +,+
**
** DIMENSIONS:
** w_in(nspectra,nruns) -> w_out(nQ,nQ) (folded), w_out(2*nQ,2*nQ) (unfolded)
**
** COMMAND SYNTAX:
** w10=qrebin(w9,[nQ=
Parameters
- w_in
- oms
Keywords
- omegashift
- fold
- nQ
- dE
- Qmax
File attributes
Modification date: | Tue Oct 1 14:43:50 2013 |
Lines: | 164 |