Home > Scripts > Treatment > Sqw > sqw_kpath.m

iFit/sqw_kpath

PURPOSE ^

sqw_kpath: evaluates a 4D S(q,w) model along specified k-path

SYNOPSIS ^

function S = sqw_kpath(f, qLim, E)

DESCRIPTION ^

 sqw_kpath: evaluates a 4D S(q,w) model along specified k-path

    sqw_kpath(f, kpath, w)
    The k-path can be given as a cell containing 3-values (HKL) vectors, or
      a n x 3 matrix, each row being a HKL location.
    The energy range can be entered as a vector, or a [min max] pair.
    Refer to https://en.wikipedia.org/wiki/Brillouin_zone and
             http://lamp.tu-graz.ac.at/~hadley/ss1/bzones/ to get the standard 
    points in the Brillouin zone.

 Example:
   S = sqw_kpath(sqw_cubic_monoatomic, '', [0 10]); plot(log10(S));

 input:
   f:    a 4D HKLE model S(q,w) (iFunc)
   path: a list of k-locations given as a cell/array of HKL locations (cell or matrix)
         can also be 'Cubic','Hexagonal','Trigonal','Tetragonal','Orthorhombic','Monoclinic';
                     'Triclinic
   w:    a vector of energies (4-th axis) for which to evaluate the model (double)

 output:
   S:    the dispersion W(HKL) computed along the path (iData)

 Version: Mar. 22, 2017
 See also sqw_cubic_monoatomic, sqw_sine3d, sqw_vaks, sqw_spinw
   sqw_powder, <a href="matlab:doc(iFunc,'Models')">iFunc:Models</a>
 (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