ARTS 2.5.10 (git: 2f1c442c)
|
This file contains declerations of functions of physical character. More...
Go to the source code of this file.
Functions | |
Numeric | barometric_heightformula (const Numeric &p, const Numeric &dh) |
barometric_heightformula | |
Numeric | dinvplanckdI (const Numeric &i, const Numeric &f) |
dinvplanckdI | |
void | fresnel (Complex &Rv, Complex &Rh, const Complex &n1, const Complex &n2, const Numeric &theta) |
fresnel | |
Numeric | invplanck (const Numeric &i, const Numeric &f) |
invplanck | |
Numeric | invrayjean (const Numeric &i, const Numeric &f) |
invrayjean | |
constexpr Numeric | number_density (Numeric p, Numeric t) noexcept |
number_density | |
constexpr Numeric | dnumber_density_dt (Numeric p, Numeric t) noexcept |
dnumber_density_dT | |
Numeric | planck (const Numeric &f, const Numeric &t) |
planck | |
void | planck (VectorView b, const ConstVectorView &f, const Numeric &t) |
planck | |
Vector | planck (const ConstVectorView &f, const Numeric &t) |
planck | |
Numeric | dplanck_dt (const Numeric &f, const Numeric &t) |
dplanck_dt | |
void | dplanck_dt (VectorView b, const ConstVectorView &f, const Numeric &t) |
dplanck_dt | |
Vector | dplanck_dt (const ConstVectorView &f, const Numeric &t) |
dplanck_dt | |
Numeric | dplanck_df (const Numeric &f, const Numeric &t) |
dplanck_df | |
Vector | dplanck_df (const ConstVectorView &f, const Numeric &t) |
dplanck_df | |
Numeric | rayjean (const Numeric &f, const Numeric &t) |
rayjean | |
Complex | refice_ (const Numeric &wavlen, const Numeric &temp) |
Calculates complex refractive index of Ice 1H. | |
This file contains declerations of functions of physical character.
Definition in file physics_funcs.h.
barometric_heightformula
Barometric heightformula for isothermal earth atmosphere.
[in] | p | Atmospheric pressure at starting level [Pa]. |
[in] | dh | Vertical displacement to starting pressure level [m]. |
Definition at line 64 of file physics_funcs.cc.
References M.
Referenced by cloudboxSetAutomatically().
dinvplanckdI
Calculates the derivative of inverse-Planck with respect to intensity.
[in] | i | Radiance. |
[in] | f | Frequency. |
Definition at line 100 of file physics_funcs.cc.
References a, ARTS_USER_ERROR_IF, b, BOLTZMAN_CONST, d, PLANCK_CONST, and SPEED_OF_LIGHT.
Referenced by apply_iy_unit2().
dnumber_density_dT
Calculates the atmospheric number density derivative with temperature.
[in] | p | Pressure. |
[in] | t | Temperature. |
Definition at line 84 of file physics_funcs.h.
References Constant::k, and Math::pow2().
Referenced by abs_xsec_per_speciesAddCIA(), LineShape::compute(), propmat_clearskyAddCIA(), and propmat_clearskyAddXsecFit().
Vector dplanck_df | ( | const ConstVectorView & | f, |
const Numeric & | t | ||
) |
dplanck_df
Calculates the frequency derivative of the Planck function for a single temperature and frequency.
[in] | f | Frequency. |
[in] | t | Temperature. |
Definition at line 362 of file physics_funcs.cc.
References dplanck_df(), and ConstVectorView::nelem().
dplanck_df
Calculates the frequency derivative of the Planck function for a single temperature and frequency.
[in] | f | Frequency. |
[in] | t | Temperature. |
Definition at line 337 of file physics_funcs.cc.
References a, ARTS_USER_ERROR_IF, b, Constant::c, Constant::h, Constant::k, and Math::pow2().
Referenced by dplanck_df(), and nlte_sourceFromTemperatureAndSrcCoefPerSpecies().
Vector dplanck_dt | ( | const ConstVectorView & | f, |
const Numeric & | t | ||
) |
dplanck_dt
Calculates the Planck function temperature derivative for a single temperature and a vector of frequencies.
[in] | f | Frequency. |
[in] | t | Temperature. |
Definition at line 318 of file physics_funcs.cc.
References dplanck_dt(), and ConstVectorView::nelem().
dplanck_dt
Calculates the temperature derivative of the Planck function for a single temperature and frequency.
[in] | f | Frequency. |
[in] | t | Temperature. |
Definition at line 273 of file physics_funcs.cc.
References a, ARTS_USER_ERROR_IF, b, Constant::c, Constant::h, Constant::k, Math::pow2(), and Math::pow4().
Referenced by dplanck_dt(), get_stepwise_blackbody_radiation(), iySurfaceLambertian(), nlte_sourceFromTemperatureAndSrcCoefPerSpecies(), and SurfaceBlackbody().
void dplanck_dt | ( | VectorView | dbdt, |
const ConstVectorView & | f, | ||
const Numeric & | t | ||
) |
dplanck_dt
Calculates the Planck function temperature derivative for a single temperature and a vector of frequencies.
[in] | f | Frequency. |
[in] | t | Temperature. |
Definition at line 299 of file physics_funcs.cc.
References ARTS_USER_ERROR_IF, dplanck_dt(), and ConstVectorView::nelem().
void fresnel | ( | Complex & | Rv, |
Complex & | Rh, | ||
const Complex & | n1, | ||
const Complex & | n2, | ||
const Numeric & | theta | ||
) |
fresnel
Calculates complex AMPLITUDE reflection coeffcients for a specular reflection.
The properties of the two involved media are given as the complex refractive index, n. A dielectric constant, eps, is converted as n = sqrt( eps ). The power reflection coefficient, r, for one polarisation is r = abs(R)^2.
[out] | Rv | Reflection coefficient for vertical polarisation. |
[out] | Rh | Reflection coefficient for vertical polarisation. |
[in] | n1 | Refractive index of medium where radiation propagates. |
[in] | n2 | Refractive index of reflecting medium. |
[in] | theta | Propagation angle from normal of radiation to be. reflected |
Definition at line 132 of file physics_funcs.cc.
Referenced by surfaceFlatRefractiveIndex().
invplanck
Converts a radiance to Planck brightness temperature.
[in] | i | Radiance. |
[in] | f | Frequency. |
Definition at line 162 of file physics_funcs.cc.
References a, ARTS_USER_ERROR_IF, b, BOLTZMAN_CONST, PLANCK_CONST, and SPEED_OF_LIGHT.
Referenced by apply_iy_unit().
invrayjean
Converts a radiance to Rayleigh-Jean brightness temperature.
[in] | i | Radiance. |
[in] | f | Frequency. |
Definition at line 184 of file physics_funcs.cc.
References a, ARTS_USER_ERROR_IF, BOLTZMAN_CONST, and SPEED_OF_LIGHT.
Referenced by apply_iy_unit(), apply_iy_unit2(), cloudbox_fieldUpdateSeq1D(), doit_conv_flagAbsBT(), doit_conv_flagLsq(), and MCGeneral().
number_density
Calculates the atmospheric number density.
[in] | p | Pressure. |
[in] | t | Temperature. |
Definition at line 70 of file physics_funcs.h.
References Constant::k.
Referenced by abs_xsec_per_speciesAddCIA(), lm_hitran_2017::compabs(), LineShape::compute(), dxdvmrscf(), Absorption::LineMixing::ecs_absorption_impl(), GasAbsLookup::Extract(), gas_scattering_coefAirSimple(), gas_scattering_coefXsecConst(), propmat_clearskyAddCIA(), propmat_clearskyAddXsecFit(), rtmethods_jacobian_finalisation(), vmrunitscf(), and x2artsAtmAndSurf().
Vector planck | ( | const ConstVectorView & | f, |
const Numeric & | t | ||
) |
planck
Calculates the Planck function for a single temperature and a vector of frequencies.
Note that this expression gives the intensity for both polarisations.
[in] | f | Frequency. |
[in] | t | Temperature. |
Definition at line 254 of file physics_funcs.cc.
References b, ConstVectorView::nelem(), and planck().
planck
Calculates the Planck function for a single temperature.
Note that this expression gives the intensity for both polarisations.
[in] | f | Frequency. |
[in] | t | Temperature. |
Definition at line 208 of file physics_funcs.cc.
References a, ARTS_USER_ERROR_IF, b, Constant::c, Constant::h, Constant::k, Math::pow2(), and Math::pow3().
Referenced by cloud_ppath_update1D_planeparallel(), cloud_RT_no_background(), get_stepwise_blackbody_radiation(), iySurfaceLambertian(), MatrixCBR(), MatrixPlanck(), MCGeneral(), nlte_sourceFromTemperatureAndSrcCoefPerSpecies(), planck(), regrid_sun_spectrum(), sunsAddSingleBlackbody(), surface_specular_R_and_b(), surfaceBlackbody(), surfaceFastem(), surfaceFlatReflectivity(), surfaceFlatRvRh(), surfaceFlatScalarReflectivity(), and surfaceLambertianSimple().
void planck | ( | VectorView | b, |
const ConstVectorView & | f, | ||
const Numeric & | t | ||
) |
planck
Calculates the Planck function for a single temperature and a vector of frequencies.
Note that this expression gives the intensity for both polarisations.
[in] | f | Frequency. |
[in] | t | Temperature. |
Definition at line 233 of file physics_funcs.cc.
References ARTS_USER_ERROR_IF, b, ConstVectorView::nelem(), and planck().
rayjean
Converts a Rayleigh-Jean brightness temperature to radiance
[in] | tb | RJ brightness temperature. |
[in] | f | Frequency. |
Definition at line 380 of file physics_funcs.cc.
References a, ARTS_USER_ERROR_IF, BOLTZMAN_CONST, and SPEED_OF_LIGHT.
Calculates complex refractive index of Ice 1H.
Valid range for wavelengths is between 45 nm and 8.6 m. For wavelengths above 167 microns, temperature dependence is included for temperatures between 213 and 272K. Mainly intended for applications in Earth ice clouds and snow, not other planets or interstellar space; the temperature dependence or crystalline form of ice may be incorrect for these latter applications.
Authors of Fortran function:
Stephen Warren, Univ. of Washington (1983)
Bo-Cai Gao, JCESS, Univ. of Maryland (1995)
Warren Wiscombe, NASA Goddard (1995)
References:
Warren, S., 1984: Optical Constants of Ice from the Ultraviolet to the Microwave, Appl. Opt. 23, 1206-1225
Kou, L., D. Labrie, and P. Chylek, 1994: Refractive indices of water and ice in the 0.65- to 2.5-micron spectral range, Appl. Opt. 32, 3531-3540
Perovich, D., and J. Govoni, 1991: Absorption Coefficients of Ice from 250 to 400 nm, Geophys. Res. Lett. 18, 1233-1235
[in] | wavlen | Wavelength in microns |
[in] | temp | Temperature in Kelvin |
returns Refractive index as complex number