Go to the documentation of this file.
78 out2 <<
" Sets *complex_n* to model properties of liquid water,\n"
79 <<
" according to Liebe 1993\n";
80 out3 <<
" temperature : " << t <<
" K.\n";
89 const Numeric theta = 1 - 300 / t;
90 const Numeric e0 = 77.66 - 103.3 * theta;
92 const Numeric f1 = 20.2 + 146.4 * theta + 316 * theta * theta;
96 for(
Index iv=0; iv<nf; iv++ )
98 const Complex ifGHz( 0.0, f_grid[iv]/1e9 );
101 (e0-e1) / (
Numeric(1.0)-ifGHz/f1) );
103 complex_n(iv,0) = n.real();
104 complex_n(iv,1) = n.imag();
119 for(
Index i=0; i<n; i++ )
120 { emission[i] =
planck( f[i], t ); }
128 const Index& stokes_dim,
136 throw runtime_error(
"The given frequency vector is empty." );
141 for(
Index i=0; i<n; i++ )
150 const Index& stokes_dim,
161 throw runtime_error(
"The given frequency vector is empty." );
163 out2 <<
" Setting blackbody radiation for a temperature of " << t <<
" K.\n";
168 for(
Index i=0; i<n; i++ )
169 { m(i,0) =
planck( f[i], t ); }
179 const Index& stokes_dim,
189 throw runtime_error(
"The given frequency vector is empty." );
191 out2 <<
" Setting unpolarised radiation with an intensity of 1.\n";
196 for(
Index i=0; i<n; i++ )
const Numeric COSMIC_BG_TEMP
void resize(Index n)
Resize function.
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 emissionPlanck(Vector &emission, const Vector &f, const Numeric &t, const Verbosity &)
WORKSPACE METHOD: emissionPlanck.
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.
void complex_nWaterLiebe93(Matrix &complex_n, const Vector &f_grid, const Numeric &t, const Verbosity &verbosity)
WORKSPACE METHOD: complex_nWaterLiebe93.
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.