ARTS
2.3.1285(git:92a29ea9-dirty)
|
This file contains functions that are adapted from TESSEM code which is used to calculate surface emissivity. More...
Go to the source code of this file.
Classes | |
struct | TessemNN |
Functions | |
void | tessem_read_ascii (std::ifstream &is, TessemNN &net) |
void | tessem_prop_nn (VectorView &ny, const TessemNN &net, ConstVectorView nx) |
This file contains functions that are adapted from TESSEM code which is used to calculate surface emissivity.
Definition in file tessem.h.
void tessem_prop_nn | ( | VectorView & | ny, |
const TessemNN & | net, | ||
ConstVectorView | nx | ||
) |
Tessem emissivity calculation
When using the default neural network parameter files from the Tessem 2 distribution, the input Vector should contain 5 elements:
[out] | ny | Calculated emissivity. |
[in] | net | Neural network parameters. |
[in] | nx | Input data. |
Definition at line 87 of file tessem.cc.
References TessemNN::nb_inputs, TessemNN::nb_outputs, ConstVectorView::nelem(), and _CS_basic_sstream_base< _CS_cT, _CS_Tr, _CS_Al >::str().
Referenced by surfaceTessem(), and TestTessem().
void tessem_read_ascii | ( | std::ifstream & | is, |
TessemNN & | net | ||
) |
Read TESSEM2 neural network parameters
[in,out] | is | Input file stream |
[out] | net | Neural network parameters |
Definition at line 41 of file tessem.cc.
References TessemNN::b1, TessemNN::b2, i, TessemNN::nb_cache, TessemNN::nb_inputs, TessemNN::nb_outputs, Vector::resize(), Matrix::resize(), TessemNN::w1, TessemNN::w2, TessemNN::x_max, TessemNN::x_min, TessemNN::y_max, and TessemNN::y_min.
Referenced by TessemNNReadAscii().