VectorGaussian
- Workspace.VectorGaussian(self: pyarts.arts._Workspace, y: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector, x: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector, x0: pyarts.arts.WorkspaceVariable | pyarts.arts.Numeric | None = 0, si: pyarts.arts.WorkspaceVariable | pyarts.arts.Numeric | None = -1, fwhm: pyarts.arts.WorkspaceVariable | pyarts.arts.Numeric | None = -1, verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None
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
andy
can be the same variable.Author(s): Patrick Eriksson
- Parameters:
y (Vector) – Output vector. [OUT]
x (Vector) – Grid of the function. [IN]
x0 (Numeric, optional) – Centre/mean point of the function. Defaults to
0
[IN]si (Numeric, optional) – Standard deviation of the function, ignored if <=0. Defaults to
-1
[IN]fwhm (Numeric, optional) – Full width at half-max of the function, ignored if <=0. Defaults to
-1
[IN]verbosity (Verbosity) – ARTS verbosity. See
verbosity
, defaults toself.verbosity
[IN]