pyarts.cat.linemixing

This contains methods to replace set line mixing

pyarts.cat.linemixing.adapt_lines(ws, lines, t_grid=array([150., 154.08163265, 158.16326531, 162.24489796, 166.32653061, 170.40816327, 174.48979592, 178.57142857, 182.65306122, 186.73469388, 190.81632653, 194.89795918, 198.97959184, 203.06122449, 207.14285714, 211.2244898, 215.30612245, 219.3877551, 223.46938776, 227.55102041, 231.63265306, 235.71428571, 239.79591837, 243.87755102, 247.95918367, 252.04081633, 256.12244898, 260.20408163, 264.28571429, 268.36734694, 272.44897959, 276.53061224, 280.6122449, 284.69387755, 288.7755102, 292.85714286, 296.93877551, 301.02040816, 305.10204082, 309.18367347, 313.26530612, 317.34693878, 321.42857143, 325.51020408, 329.59183673, 333.67346939, 337.75510204, 341.83673469, 345.91836735, 350.]), pressure=100000.0, order=1, robust=1, rosenkranz_adaptation=0)[source]

Adapt the lines to use line mixing coefficients from on-the-fly bands

Parameters:
  • ws (Workspace) – A pyarts workspace

  • lines (pyarts workspace variable) – An ArrayOfAbsorptionLines (modified in-place)

  • t_grid (ndarray) – A range of increasing temperatures in Kelvin

  • pressure (float) – A pressure in pascal

  • order (int) – The order of Rosenkranz adaptations

  • robust (int) – Whether or not an error is ignored

  • rosenkranz_adaptation (int) – Wheter or not pure perturbations [0] or eigenvalues are used in the adaptation [else]

Returns:

lines modified

pyarts.cat.linemixing.init_ecs(ws, vmrs=array([0.21, 0.79]), specs=['O2', 'N2'])[source]

Initialize the error-corrected sudden molecular parameters

Parameters:
  • ws (Workspace) – A pyarts workspace

  • vmrs (ndarray) – The volume mixing ration of “air”

  • specs (str) – A comma separated list of “air” species with resp. vmr

Returns: None