Home > Scripts > Treatment > Sqw > Sqw_symmetrize.m

iFit/Sqw_symmetrize

PURPOSE ^

Sqw_symmetrize(s): extend the S(|q|,w) in both energy sides

SYNOPSIS ^

function s=Sqw_symmetrize(s)

DESCRIPTION ^

 Sqw_symmetrize(s): extend the S(|q|,w) in both energy sides
  The resulting S(q,w) is the combination of S(q,w) and S(q,-w), which
  is thus symmetric in energy:
     S(q,w) = S(q,-w)

  The S(q,w) is a dynamic structure factor aka scattering function.

  The incoming data set should NOT contain the Bose factor, that is it
    should be 'classical'.
  To obtain a 'classical' S(q,w) from an experiment, use first:
    Sqw_deBosify(s, T)

 The positive energy values in the S(q,w) map correspond to Stokes processes, 
 i.e. material gains energy, and neutrons loose energy when scattered.

 input:
   s:  Sqw data set (classical, often labelled as S*)
        2D data set with w as 1st axis (rows, meV), q as 2nd axis (Angs-1).
 output:
   s:  S(|q|,w) symmetrised in energy

 Example: Sqw_symmetrize(s, 300)

 See also: Sqw_Bosify, deBosify, Sqw_dynamic_range, Sqw_scatt_xs
 (c) E.Farhi, ILL. License: EUPL.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 22-Mar-2017 09:13:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1