Home > Applications > SpinW > m_files > sw_omegasum.m

iFit/sw_omegasum

PURPOSE ^

removes degenerate and ghost magnon modes from spectrum

SYNOPSIS ^

function spectra = sw_omegasum(spectra, varargin)

DESCRIPTION ^

 removes degenerate and ghost magnon modes from spectrum

 spec = sw_omegasum(spec, 'Option1', Value1, ...)

 It removes the degenerate modes from the dispersion stored in
 spectra.omega and sorts omega according to the energy.

 The degenerate dispersion energies are substituted with NaN values. Be
 carefull, after this function sw_egrid() won't work properly on spectra.

 Options:

 tol       Tolerance, within two energies are considered equal. Default
           value is 1e-5.
 zeroint   The minimum intensity value, below the mode is dropped. Default
           value is zero (no modes are dropped due to weak intensity).

 See also SW.SPINWAVE, SW_EGRID.

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