Go to the documentation of this file.
66 Vector& blackbody_radiation,
73 blackbody_radiation.
resize(n);
75 for(
Index i=0; i<n; i++ )
76 { blackbody_radiation[i] =
planck( f[i], t ); }
85 const Index& stokes_dim,
93 throw runtime_error(
"The given frequency vector is empty." );
98 for(
Index i=0; i<n; i++ )
108 const Index& stokes_dim,
119 throw runtime_error(
"The given frequency vector is empty." );
121 out2 <<
" Setting blackbody radiation for a temperature of " << t <<
" K.\n";
126 for(
Index i=0; i<n; i++ )
127 { m(i,0) =
planck( f[i], t ); }
136 const Index& stokes_dim,
146 throw runtime_error(
"The given frequency vector is empty." );
148 out2 <<
" Setting unpolarised radiation with an intensity of 1.\n";
153 for(
Index i=0; i<n; i++ )
const Numeric COSMIC_BG_TEMP
void resize(Index n)
Resize function.
void blackbody_radiationPlanck(Vector &blackbody_radiation, const Vector &f, const Numeric &t, const Verbosity &)
WORKSPACE METHOD: blackbody_radiationPlanck.
void MatrixCBR(Matrix &m, const Index &stokes_dim, const Vector &f, const Verbosity &)
WORKSPACE METHOD: MatrixCBR.
Declarations having to do with the four output streams.
Index nelem() const
Returns the number of elements.
NUMERIC Numeric
The type to use for all floating point numbers.
void resize(Index r, Index c)
Resize function.
Numeric planck(const Numeric &f, const Numeric &t)
planck
void MatrixPlanck(Matrix &m, const Index &stokes_dim, const Vector &f, const Numeric &t, const Verbosity &verbosity)
WORKSPACE METHOD: MatrixPlanck.
Header file for logic.cc.
void MatrixUnitIntensity(Matrix &m, const Index &stokes_dim, const Vector &f, const Verbosity &verbosity)
WORKSPACE METHOD: MatrixUnitIntensity.
INDEX Index
The type to use for all integer numbers and indices.
The global header file for ARTS.