Home > Applications > Horace > @d3d > calculate_q_bins.m

iFit/calculate_q_bins

PURPOSE ^

Calculate qh,qk,ql,en for the centres of the bins of a d3d dataset

SYNOPSIS ^

function [q,en]=calculate_q_bins(win)

DESCRIPTION ^

 Calculate qh,qk,ql,en for the centres of the bins of a d3d dataset

   >> [q,en]=calculate_q_bins(win)

 Input:
 ------
   win     Input d3d dataset

 Output:
 -------
   q       Components of momentum (in rlu) for each bin in the dataset for a single energy bin
           Arrays are packaged as cell array of column vectors for convenience
           with fitting routines etc.
               i.e. q{1}=qh, q{2}=qk, q{3}=ql
   en      Column vector of energy bin centres. If energy was an integration axis, then returns the
           centre of the energy integration range

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 27-Nov-2018 10:56:24 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1