dd_gauss¶
Gaussian distribution
Syntax¶
info = dd_gauss()
P = dd_gauss(r,param)
- Parameters
r- Distance axis (N-array)param- Model parameters
- Returns
P- Distance distribution (N-array)info- Model information (struct)
Model¶
with
| Variable | Symbol | Default | Lower bound | Upper bound | Description |
|---|---|---|---|---|---|
param(1) |
3.5 | 1.0 | 20 | center distance (nm) | |
param(2) |
0.5 | 0.2 | 5 | FWHM (nm) |
Example using default parameters:
Description¶
info = dd_gauss()
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_gauss(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.