Home > Scripts > Treatment > Sqw > Sqw_check.m

iFit/Sqw_check

PURPOSE ^

Sqw_check: check if a 2D iData is a S(q,w).

SYNOPSIS ^

function s = Sqw_check(s)

DESCRIPTION ^

 Sqw_check: check if a 2D iData is a S(q,w).

 This routine can also convert automatically an input 
         S(phi,t)  into S(phi,w)
   and   S(phi,w)  into S(q,  w).

 conventions:
 omega = Ei-Ef = energy lost by the neutron
    omega > 0, neutron looses energy, can not be higher than Ei (Stokes)
    omega < 0, neutron gains energy, anti-Stokes

 input:
   s: Sqw data set
        e.g. 2D data set with w as 1st axis (rows), q as 2nd axis.

 Example: sqw=Sqw_check('SQW_coh_lGe.nc');
 (c) E.Farhi, ILL. License: EUPL.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Tue 22-Aug-2017 11:03:30 by m2html © 2005. iFit (c) E.Farhi/ILL EUPL 1.1