Home > Applications > SpinW > m_files > sw_idata.m

iFit/sw_idata

PURPOSE ^

creates iData object

SYNOPSIS ^

function [omega, swConv] = sw_idata(spectrum, varargin)

DESCRIPTION ^

 creates iData object

 [omega, swConv] = SW_IDATA(spectrum, 'option1', value1 ...) 

 It creates iData object (<a href=http://ifit.mccode.org>http://ifit.mccode.org</a>) 
 and convolutes the spectra with a fixed instrumental resolution, assuming
 the energy and Q axis are linear.

 Input:

 spectrum      Calculated spin wave spectrum, struct type.

 Options:

 fwhmE         Full width half maximum of the Gaussian energy
               resolution. Works properly only for linear energy axis.
 fwhmQ         Full width half maximum of the Gaussian momentum
               transfer resolution in A^-1 units. Works properly only
               for linear scans in reciprocal space. Be carefull for
               example for scans like [1, QK, 0] where the equal QK
               steps give unequal steps in the A^-1 reciprocal space.
 nInterp       Number of axis subdivision before convolution, equal
               for Q and E.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Mon 26-Nov-2018 15:08:42 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1