Difference between revisions of "Lorentzcon.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:lorentzcon.m}} __NOTOC__ Normalised Lorentzian function in magnetic resonance notation and its convolution with a triangular function. ==Syntax== y=loren...")
 
(Normalise sequential blank lines)
Line 25: Line 25:
 
==See also==
 
==See also==
 
[[Kernel_utilities#Numerical_infrastructure|Numerical infrastructure]]
 
[[Kernel_utilities#Numerical_infrastructure|Numerical infrastructure]]
−
 
  
 
''Version 2.7, authors: [[Ilya Kuprov]]''
 
''Version 2.7, authors: [[Ilya Kuprov]]''

Revision as of 12:27, 25 April 2026

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