ARTS built-in documentation server
Workspace Method VectorGaussian
Description
Fills a vector with a Gaussian function.
The width can be set in two ways, either by standard deviation or
the full width at half maximum. Only one of the corresponding GINs
can be >0 and that value will determine the width.
The vectors x and y can be the same variable.
Authors: Patrick Eriksson
Synopsis
VectorGaussian( | y, x, x0, si, fwhm ) |
Variables
GOUT | y | (Vector) | Output vector. |
GIN | x | (Vector) | Grid of the function. |
GIN | x0 | (Numeric, Default: 0) | Centre/mean point of the function. |
GIN | si | (Numeric, Default: -1) | Standard deviation of the function, ignored if <=0. |
GIN | fwhm | (Numeric, Default: -1) | Full width at half-max of the function, ignored if <=0. |