ARTS
2.4.0(git:4fb77825)
|
This file contains functions that are adapted from TESSEM2 code which is used to calculate surface emissivity. More...
Go to the source code of this file.
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 TESSEM2 code which is used to calculate surface emissivity.
The implementation is based on the Fortran code v1.0 developed by Catherine Prigent and Filipe Aires in the EUMETSAT Study on surface emissivity at microwave and sub-millimeter frequencies project EUM/CO/14/4600001473/CJA
Definition in file tessem.cc.
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, and ConstVectorView::nelem().
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, 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().