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++ )
INDEX Index
The type to use for all integer numbers and indices.
const Numeric COSMIC_BG_TEMP
void MatrixUnitIntensity(Matrix &m, const Index &stokes_dim, const Vector &f, const Verbosity &verbosity)
WORKSPACE METHOD: MatrixUnitIntensity.
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.
void blackbody_radiationPlanck(Vector &blackbody_radiation, const Vector &f, const Numeric &t, const Verbosity &)
WORKSPACE METHOD: blackbody_radiationPlanck.
The global header file for ARTS.
void MatrixPlanck(Matrix &m, const Index &stokes_dim, const Vector &f, const Numeric &t, const Verbosity &verbosity)
WORKSPACE METHOD: MatrixPlanck.
NUMERIC Numeric
The type to use for all floating point numbers.
Header file for logic.cc.
void resize(Index n)
Assignment operator from VectorView.
Numeric planck(const Numeric &f, const Numeric &t)
planck
void resize(Index r, Index c)
Resize function.