dd_gengauss

Generalized Gaussian distribution parametric model


Syntax

info = dd_gengauss()
P = dd_gengauss(r,param)
Parameters
  • r - Distance axis (N-array)
  • param - Model parameters
Returns
  • P - Distance distribution (N-array)
  • info - Model information (struct)

Model

../_images/model_scheme_dd_gengauss.png

P(r) = \frac{\beta}{2\sigma\Gamma(1/\beta)}\exp\left(-\left(\frac{(r-\left<r\right>)}{\sigma}\right)^\beta \right)

with \sigma = w/(2\sqrt{2ln(2)})

Variable Symbol Default Lower bound Upper bound Description
param(1) r_0 3.5 1.0 20 center distance (nm)
param(2) w 0.5 0.2 5 FWHM (nm)
param(2) \beta 5.0 0.25 15 kurtosis

Example using default parameters:

../_images/model_dd_gengauss.png

Description

info = dd_gengauss()

Returns an info structure containing the specifics of the model:

  • info.model - Full name of the parametric model.
  • info.nparam - Total number of adjustable parameters.
  • info.parameters - Structure array with information on individual parameters.

P = dd_gengauss(r,param)

Computes the distance distribution model P from the axis r according to the parameters array param. The required parameters can also be found in the info structure.