lamp_mac/BRISP/
sqw_rebrisp.pro
top sqw_rebrisp
result = sqw_rebrisp(w_in, qb, em, ib, dQ=dQ, Emin=Emin, all_angles=all_angles, pos_angles=pos_angles, neg_angles=neg_angles, swap_QE=swap_QE)
******* ***********
** User callable
** For IN4, IN5, IN6, BRISP and D7
**
** rebins output data from t2e and reb to regular-grid S(Q,w) data using the old
** KHA IN6 rebin algorithm. Proper rebionning routine with error analysis (unlike
** sqw_interp.pro).
**
** ARGUMENTS:
** dQ : Q bin width
** Emin0: Minimum energy value (meV) - neutron energy gain is negative
**
** KEYWORDS (- only for D7 data)
** /neg_angles : use only negative angles
** /pos_angles : use only positive angles
** /all_angles : use all angles (default)
** input workspace must be in energy transfer versus scattering angle,
** i.e. only one component or spin phase.
** (qb, em and ib are obsolete, kept for backwards compatibility)
**
** DIMENSIONS:
** w_in(nE,nphi) -> w_out(nQs,nEs)
**
** COMMAND SYNTAX:
** w10=spw_rebin(w9,dQ=
Parameters
- w_in
- qb
- em
- ib
Keywords
- dQ
- Emin
- all_angles
- pos_angles
- neg_angles
- swap_QE
File attributes
Modification date: | Tue Oct 1 14:45:32 2013 |
Lines: | 448 |