CosmoBolognaLib
Free Software C++/Python libraries for cosmological calculations
cbl::statistics::STR_likelihood_inputs Struct Reference

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::Datadata
 data containers
 
std::shared_ptr< Modelmodel
 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::FuncGridinterp_function1D
 interpolated likelihood function - 1D
 
std::shared_ptr< glob::FuncGrid2Dinterp_function2D
 interpolated likelihood function - 2D
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ STR_likelihood_inputs()

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

Parameters
input_datapointers to the data container
input_modelpointers to the model
input_x_indexvector contaning the x indeces
input_w_indexweight index

Definition at line 42 of file LikelihoodFunction.cpp.


The documentation for this struct was generated from the following files: