abs_linesReplaceLines
- Workspace.abs_linesReplaceLines(self: pyarts.arts._Workspace, abs_lines: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfAbsorptionLines]] = self.abs_lines, replacing_lines: Union[pyarts.arts.WorkspaceVariable, pyarts.arts.ArrayOfAbsorptionLines], verbosity: Optional[Union[pyarts.arts.WorkspaceVariable, pyarts.arts.Verbosity]] = self.verbosity) None
Replace all lines in
abs_lines
that match with lines in replacement_lines.Each replacement_lines must match excatly a single line in
abs_lines
.The matching requires identical quantum number signatures to work
Note that lines are identified by their quantum number identifier, and if the broadening or compute data disagree between two bands, a new band is appended unless we can work around the issue. This may cause
CheckUnique()
to fail after running this methodAuthor(s): Richard Larsson
- Parameters:
abs_lines (ArrayOfAbsorptionLines, optional) – A list of spectral line data. See
abs_lines
, defaults toself.abs_lines
[INOUT]replacing_lines (ArrayOfAbsorptionLines) – Line-array that replace lines in
abs_lines
. [IN]verbosity (Verbosity) – ARTS verbosity. See
verbosity
, defaults toself.verbosity
[IN]