ARTS
2.2.66
|
Workspace methods of physical character. More...
#include "arts.h"
#include "auto_md.h"
#include "check_input.h"
#include "logic.h"
#include "math_funcs.h"
#include "messages.h"
#include "physics_funcs.h"
Go to the source code of this file.
Functions | |
void | blackbody_radiationPlanck (Vector &blackbody_radiation, const Vector &f, const Numeric &t, const Verbosity &) |
WORKSPACE METHOD: blackbody_radiationPlanck. More... | |
void | MatrixCBR (Matrix &m, const Index &stokes_dim, const Vector &f, const Verbosity &) |
WORKSPACE METHOD: MatrixCBR. More... | |
void | MatrixPlanck (Matrix &m, const Index &stokes_dim, const Vector &f, const Numeric &t, const Verbosity &verbosity) |
WORKSPACE METHOD: MatrixPlanck. More... | |
void | MatrixUnitIntensity (Matrix &m, const Index &stokes_dim, const Vector &f, const Verbosity &verbosity) |
WORKSPACE METHOD: MatrixUnitIntensity. More... | |
Variables | |
const Numeric | COSMIC_BG_TEMP |
Workspace methods of physical character.
This file includes workspace methods for operations that have some connection to basic physics. Example of methods are:
These functions are listed in the doxygen documentation as entries of the file auto_md.h.
Definition in file m_physics.cc.
void blackbody_radiationPlanck | ( | Vector & | blackbody_radiation, |
const Vector & | f_grid, | ||
const Numeric & | rtp_temperature, | ||
const Verbosity & | verbosity | ||
) |
WORKSPACE METHOD: blackbody_radiationPlanck.
The Planck function (frequency version).
The standard function for blackbody_radiation_agenda.
The is considered as the standard version inside ARTS of the Planck function. The unit of the returned data is W/(m^2 Hz sr).
[out] | blackbody_radiation | WS Output |
[in] | f_grid | WS Input |
[in] | rtp_temperature | WS Input |
Definition at line 65 of file m_physics.cc.
References ConstVectorView::nelem(), planck(), and Vector::resize().
Referenced by blackbody_radiationPlanck_g().
void MatrixCBR | ( | Matrix & | out, |
const Index & | stokes_dim, | ||
const Vector & | f, | ||
const Verbosity & | verbosity | ||
) |
WORKSPACE METHOD: MatrixCBR.
Sets a matrix to hold cosmic background radiation (CBR).
The CBR is assumed to be un-polarized and Stokes components 2-4 are zero. Number of Stokes components, that equals the number of columns in the created matrix, is determined by stokes_dim. The number of rows in the created matrix equals the length of the given frequency vector.
The cosmic radiation is modelled as blackbody radiation for the temperature given by the global constant COSMIC_BG_TEMP, set in the file constants.cc. The frequencies are taken from the generic input vector.
The standard definition, in ARTS, of the Planck function is followed and the unit of the returned data is W/(m3 * Hz * sr).
[out] | out | Generic output |
[in] | stokes_dim | WS Input |
[in] | f | Generic Input |
Definition at line 82 of file m_physics.cc.
References COSMIC_BG_TEMP, ConstVectorView::nelem(), planck(), and Matrix::resize().
Referenced by MatrixCBR_g().
void MatrixPlanck | ( | Matrix & | out, |
const Index & | stokes_dim, | ||
const Vector & | f, | ||
const Numeric & | t, | ||
const Verbosity & | verbosity | ||
) |
WORKSPACE METHOD: MatrixPlanck.
Sets a matrix to hold blackbody radiation.
The radiation is assumed to be un-polarized and Stokes components 2-4 are zero. Number of Stokes components, that equals the number of columns in the created matrix, is determined by stokes_dim. The number of rows in the created matrix equals the length of the given frequency vector.
The standard definition, in ARTS, of the Planck function is followed and the unit of the returned data is W/(m3 * Hz * sr).
[out] | out | Generic output |
[in] | stokes_dim | WS Input |
[in] | f | Generic Input |
[in] | t | Generic Input |
Definition at line 105 of file m_physics.cc.
References CREATE_OUT2, ConstVectorView::nelem(), planck(), and Matrix::resize().
Referenced by MatrixPlanck_g().
void MatrixUnitIntensity | ( | Matrix & | out, |
const Index & | stokes_dim, | ||
const Vector & | f, | ||
const Verbosity & | verbosity | ||
) |
WORKSPACE METHOD: MatrixUnitIntensity.
Sets a matrix to hold unpolarised radiation with unit intensity.
Works as MatrixPlanck where the radiation is set to 1.
[out] | out | Generic output |
[in] | stokes_dim | WS Input |
[in] | f | Generic Input |
Definition at line 133 of file m_physics.cc.
References CREATE_OUT2, ConstVectorView::nelem(), and Matrix::resize().
Referenced by MatrixUnitIntensity_g().
const Numeric COSMIC_BG_TEMP |
Referenced by MatrixCBR().