Difference between revisions of "Lorentzcon.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Rename Arguments section heading to Parameters)
Line 6: Line 6:
 
     y=lorentzcon(offs,ampl,fwhm,x)
 
     y=lorentzcon(offs,ampl,fwhm,x)
  
−
==Arguments==
+
==Parameters==
  
 
     offs - peak offset from zero - when this is a scalar,
 
     offs - peak offset from zero - when this is a scalar,

Revision as of 18:50, 5 June 2026

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

Syntax

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

Parameters

    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