Trapz

Workspace.Trapz(self: pyarts.arts._Workspace, output: pyarts.arts.WorkspaceVariable | pyarts.arts.Numeric, x: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector, y: pyarts.arts.WorkspaceVariable | pyarts.arts.Vector, verbosity: pyarts.arts.WorkspaceVariable | pyarts.arts.Verbosity | None = self.verbosity) None

Intregrates a vector of over its grid range

The method integrates y(x) by the trapezoidal method.

The vector x is the positions where the integrand, y, is known.

Author(s): Patrick Eriksson

Parameters:
  • output (Numeric) – Value of integral. [OUT]

  • x (Vector) – Grid. [IN]

  • y (Vector) – Integrand. [IN]

  • verbosity (Verbosity) – ARTS verbosity. See verbosity, defaults to self.verbosity [IN]