![]() |
CosmoBolognaLib
Free Software C++/Python libraries for cosmological calculations
|
the struct STR_likelihood_inputs More...
#include <LikelihoodFunction.h>
Public Member Functions | |
| STR_likelihood_inputs (const std::shared_ptr< data::Data > input_data, const std::shared_ptr< Model > input_model, const std::vector< size_t > input_x_index={0, 2}, const int input_w_index=-1) | |
| constructor More... | |
Public Attributes | |
| std::shared_ptr< data::Data > | data |
| data containers | |
| std::shared_ptr< Model > | model |
| model to test | |
| std::vector< double > | xx |
| x position where the model is computed | |
| std::vector< double > | yy |
| y position where the model is computed | |
| std::vector< double > | weights1D |
| weight for the bin - 1D | |
| std::vector< std::vector< double > > | weights2D |
| weight for the bin - 2D | |
| std::shared_ptr< glob::FuncGrid > | interp_function1D |
| interpolated likelihood function - 1D | |
| std::shared_ptr< glob::FuncGrid2D > | interp_function2D |
| interpolated likelihood function - 2D | |
the struct STR_likelihood_inputs
This struct contains the data and the model for the likelihood analysis
Definition at line 120 of file LikelihoodFunction.h.
| cbl::statistics::STR_likelihood_inputs::STR_likelihood_inputs | ( | const std::shared_ptr< data::Data > | input_data, |
| const std::shared_ptr< Model > | input_model, | ||
| const std::vector< size_t > | input_x_index = {0, 2}, |
||
| const int | input_w_index = -1 |
||
| ) |
constructor
| input_data | pointers to the data container |
| input_model | pointers to the model |
| input_x_index | vector contaning the x indeces |
| input_w_index | weight index |
Definition at line 42 of file LikelihoodFunction.cpp.