abs_linesChangeBaseParameterForMatchingLines

Workspace.abs_linesChangeBaseParameterForMatchingLines(self: pyarts.arts._Workspace, abs_lines: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfAbsorptionLines]] = self.abs_lines, QI: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.QuantumIdentifier], parameter_name: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.String], change: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Numeric], relative: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Index]] = 0, verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None

Change parameter of all lines in abs_lines that match with QuantumIdentifier.

Only works for these parameter_name:
  • "Central Frequency"

  • "Line Strength"

  • "Lower State Energy"

  • "Einstein Coefficient"

  • "Lower Statistical Weight"

  • "Upper Statistical Weight"

  • "Lower Zeeman Coefficient"

  • "Upper Zeeman Coefficient"

Author(s): Richard Larsson

Parameters:
  • abs_lines (ArrayOfAbsorptionLines, optional) – A list of spectral line data. See abs_lines, defaults to self.abs_lines [INOUT]

  • QI (QuantumIdentifier) – Information to match the line/band. [IN]

  • parameter_name (String) – Name of parameter to be replaced. [IN]

  • change (Numeric) – Value with which to change matching line’s value. [IN]

  • relative (Index, optional) – Flag for relative change (0 is absolute change). Defaults to 0 [IN]

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