ARTS built-in documentation server
Workspace Method abs_coefCalc
Description
Calculate absorption coefficients. This function calculates both the total absorption (abs_coef), and the absorption per species (abs_coef_per_species). The method calls four other methods: 1. abs_xsec_per_speciesInit: Initialize abs_xsec_per_species 2. abs_xsec_per_speciesAddLines: Calculate cross sections per tag group for line spectra. 3. abs_xsec_per_speciesAddConts: Calculate cross sections per tag group for continua. 4. abs_coefCalcFromXsec: Calculate absorption coefficients from the cross sections by multiplying each cross section by n*VMR. This is done once for each tag group (output abs_coef_per_species), and for the sum of all tag groups (output abs_coef).
Authors: Axel von Engeln, Stefan Buehler
Synopsis
abs_coefCalc( | abs_coef, abs_coef_per_species, abs_species, f_grid, abs_p, abs_t, abs_n2, abs_h2o, abs_vmrs, abs_lines_per_species, abs_lineshape, abs_cont_names, abs_cont_models, abs_cont_parameters ) |
Variables
OUT | abs_coef | (Matrix) | The matrix of total absorption coefficients. |
OUT | abs_coef_per_species | (ArrayOfMatrix) | These are the absorption coefficients individually for each tag group. |
IN | abs_species | (ArrayOfArrayOfSpeciesTag) | Tag groups for scalar gas absorption. |
IN | f_grid | (Vector) | The frequency grid for monochromatic pencil beam calculations. |
IN | abs_p | (Vector) | List of pressures to be used for the calculation of absorption coefficients. |
IN | abs_t | (Vector) | List of temperatures to be used for the calculation of absorption coefficients. |
IN | abs_n2 | (Vector) | The total nitrogen profile associated with the pressures in abs_p [-] |
IN | abs_h2o | (Vector) | The total water profile associated with the pressures in abs_p [-] |
IN | abs_vmrs | (Matrix) | The VMRs (unit: absolute number) on the abs_p grid. |
IN | abs_lines_per_species | (ArrayOfArrayOfLineRecord) | A list of spectral line data for each tag. |
IN | abs_lineshape | (ArrayOfLineshapeSpec) | Lineshape specification: function, norm, cutoff. |
IN | abs_cont_names | (ArrayOfString) | Continuum / full model absorption tag names. |
IN | abs_cont_models | (ArrayOfString) | Continuum / full model absorption model description parameter. |
IN | abs_cont_parameters | (ArrayOfVector) | Continuum model parameters. |