53 shared_ptr<STR_data_model_threept> pp = static_pointer_cast<STR_data_model_threept>(inputs);
58 double bias1 = parameter[0];
59 double bias2 = parameter[1];
61 vector<double> Q_nl_lb(pp->Q_DM.size());
62 for (
size_t i=0; i<Q_nl_lb.size(); ++i)
63 Q_nl_lb[i] = 1./bias1*(pp->Q_DM[i]+bias2/bias1);
76 shared_ptr<STR_data_model_threept> pp = static_pointer_cast<STR_data_model_threept>(inputs);
81 double bias1 = parameter[0];
82 double bias2 = parameter[1];
83 double g2 = parameter[2];
85 vector<double> Q_nl_nlb(pp->theta.size());
86 Q_nl_nlb = pp->cosmology->Q_halo (pp->r1, pp->r2, pp->theta, bias1, bias2, g2, pp->model, pp->kk, pp->Pk_matter);
100 shared_ptr<STR_data_model_threept> pp = static_pointer_cast<STR_data_model_threept>(inputs);
105 double bias1 = parameter[0];
106 double bias2 = parameter[1];
107 double g2 = parameter[2];
108 double alpha = parameter[3];
110 vector<double> Q_nl_nlb_alpha(pp->theta.size());
112 Q_nl_nlb_alpha = pp->cosmology->Q_halo (pp->r1*
alpha, pp->r2*
alpha, pp->theta, bias1, bias2, g2, pp->model, pp->kk, pp->Pk_matter);
114 return Q_nl_nlb_alpha;
Functions to model the reduced three-point correlation function in comoving coordinates.
static const double alpha
: the fine-structure constant
std::vector< double > Q_nonlinear_localbias(const std::vector< double > theta, const std::shared_ptr< void > inputs, std::vector< double > ¶meter)
model for the reduced three-point correlation function
std::vector< double > Q_nonlinear_nonlocalbias(const std::vector< double > theta, const std::shared_ptr< void > inputs, std::vector< double > ¶meter)
model for the reduced three-point correlation function with non-local contributions
std::vector< double > Q_nonlinear_nonlocalbias_alpha(const std::vector< double > theta, const std::shared_ptr< void > inputs, std::vector< double > ¶meter)
model for the reduced three-point correlation function with non-local contributions with alpha shift ...
The global namespace of the CosmoBolognaLib