ARTS built-in documentation server

Workspace Method abs_linesChangeBaseParameterForMatchingLines

Description

Change parameter of all lines in abs_lines that match with QuantumIdentifier.
Only works for these parameters:
parameter_name = "Central Frequency"
parameter_name = "Line Strength"
parameter_name = "Lower State Energy"
parameter_name = "Einstein Coefficient"
parameter_name = "Lower Statistical Weight"
parameter_name = "Upper Statistical Weight"
parameter_name = "Lower Zeeman Coefficient"
parameter_name = "Upper Zeeman Coefficient"

Note that loose_matching:=0 means only identical quantum identifiers are accepted,
otherwise the numbers in QI must just be contained in the line identifier

Authors: Richard Larsson

Synopsis

abs_linesChangeBaseParameterForMatchingLines( abs_lines, QI, parameter_name, change, relative, loose_matching )

Variables

OUT+INabs_lines(ArrayOfAbsorptionLines)A list of spectral line data.
GINQI(QuantumIdentifier)Information to match the line.
GINparameter_name(String)Name of parameter to be replaced
GINchange(Numeric)Value with which to change matching line's value
GINrelative(Index, Default: 0)Flag for relative change (0 is absolute change)
GINloose_matching(Index, Default: 0)Flag for loose match (0 means only complete matches)