Inheritance diagram for DefectComputer:

Public Member Functions | |
| DefectComputer (const DefectixOptions::Options &options) | |
| Standard constructor. | |
| const errorCodes | exec () |
| Main function. | |
| const errorCodes | loadNetworks () |
| Load neural networks. | |
Private Member Functions | |
| const errorCodes | createOutputImage (std::map< int, gsl_matrix * > &src, std::map< int, gsl_matrix * > &dest, FitsManager &mgr, gsl_matrix *evec) |
| Create masks with loaded neural network and KL-Base. | |
| gsl_matrix * | loadKLBase () |
| Load a KL-Base. | |
Private Attributes | |
| t_network * | _l0 |
| First neural network. | |
| t_network * | _l1 |
| Second neural network. | |
| int | _nbPC |
| Number of principal components. | |
| std::string | _evecFile |
| Name of the file containing the KL-Base. | |
The class is the computing part of the project
|
|
Standard constructor. The constructor calls Defectix constructor and then initialises private members with 'options' values.
|
|
||||||||||||||||||||
|
Create masks with loaded neural network and KL-Base. The function uses the loaded KL-Base and neural network to compute the mask of the loaded MEF.
|
|
|
Main function. The function starts the mask creation Implements Defectix. |
|
|
Load a KL-Base. The function loads a KL-Base to compute masks. |
|
|
Load neural networks. The function load neural networks to compute masks. |
|
|
Name of the file containing the KL-Base. _evecFile is the name of the KL-Base stored as a gsl_matrix. |
|
|
First neural network. _l0 is the neural network of the first layer. |
|
|
Second neural network. _l1 is the neural network of the second layer. For now, it is useless. |
|
|
Number of principal components. _nbPC is the number of principal components to use once the KL-Base is computed. |
1.3.5