ARTS 2.5.4 (git: 31ce4f0e)
Absorption::LineMixing::EquivalentLines Struct Reference

Contains recomputed equivalent lines (sorting is unknown) More...

#include <linemixing.h>

Public Member Functions

 EquivalentLines (Index n=0) noexcept
 
 EquivalentLines (const ComplexMatrix &W, const Vector &pop, const Vector &dip) noexcept
 
void sort_by_frequency (Vector &f, const ArrayOfIndex &sorting)
 

Public Attributes

ComplexVector val
 
ComplexVector str
 

Friends

std::ostream & operator<< (std::ostream &os, const EquivalentLines &eqv)
 

Detailed Description

Contains recomputed equivalent lines (sorting is unknown)

Definition at line 18 of file linemixing.h.

Constructor & Destructor Documentation

◆ EquivalentLines() [1/2]

Absorption::LineMixing::EquivalentLines::EquivalentLines ( Index  n = 0)
inlineexplicitnoexcept

Construct from known size

Parameters
[in]nThe size of the problem

Definition at line 26 of file linemixing.h.

◆ EquivalentLines() [2/2]

Absorption::LineMixing::EquivalentLines::EquivalentLines ( const ComplexMatrix W,
const Vector pop,
const Vector dip 
)
noexcept

Construct from known parameters

Note that W can be renormalized in frequency

Parameters
[in]WThe relaxation matrix
[in]popThe population distributions
[in]dipThe dipoles

Definition at line 56 of file linemixing.cc.

References diagonalize(), and ComplexMatrix::inv().

Member Function Documentation

◆ sort_by_frequency()

void Absorption::LineMixing::EquivalentLines::sort_by_frequency ( Vector f,
const ArrayOfIndex sorting 
)

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const EquivalentLines eqv 
)
friend

Definition at line 128 of file linemixing.cc.

Member Data Documentation

◆ str

◆ val


The documentation for this struct was generated from the following files: