lorentzcon.m

From Spinach Documentation Wiki
Jump to: navigation, search

Normalised Lorentzian function in magnetic resonance notation and its convolution with a triangular function.

Syntax

    y=lorentzcon(offs,ampl,fwhm,x)

Arguments

    offs - peak offset from zero - when this is a scalar,
           a Lorentzian is returned; when this is a vector
           with three elements, a convolution with a tri-
           angular function is returned.

    ampl - amplitude multiplier, scalar

    fwhm - full width at half-maximum, scalar

       x - argument, array of any dimension

Outputs

    y - an array of values, same size as x

See also

Numerical infrastructure


Version 2.7, authors: Ilya Kuprov