![]() |
CosmoBolognaLib
Free Software C++/Python libraries for cosmological calculations
|
#include "Headers/Pair.h"

Public Member Functions | |
Member functions used to get private/protected parameters | |
| Dim | pairDim () const |
| get the dimension of the pair vectors More... | |
| PairType | pairType () const |
| get the pair type More... | |
| PairInfo | pairInfo () const |
| get the pair information type More... | |
| CoordinateUnits | angularUnits () |
| get the angular units More... | |
| FunctionDoubleDouble | angularWeight () |
| get the m_angularWeight function More... | |
| virtual double | scale (const int i) const |
| get the member m_scale[i] More... | |
| virtual std::vector< double > | scale () const |
| get the member std::vector<double> m_scale More... | |
| virtual double | scale_mean (const int i) const |
| get the member m_scale_mean[i] More... | |
| virtual std::vector< double > | scale_mean () const |
| get the member std::vector<double> m_scale_mean More... | |
| virtual double | scale_S (const int i) const |
| get the member m_scale_S[i] More... | |
| virtual std::vector< double > | scale_S () const |
| get the member std::vector<double> m_scale_S More... | |
| virtual double | scale_sigma (const int i) const |
| get the member m_scale_sigma[i] More... | |
| virtual std::vector< double > | scale_sigma () const |
| get the member std::vector<double> m_scale_sigma More... | |
| virtual double | z_mean (const int i) const |
| get the protected member Pair1D_extra::m_z_mean[i] More... | |
| virtual std::vector< double > | z_mean () const |
| get the protected member Pair1D_extra::m_z_mean More... | |
| virtual double | z_S (const int i) const |
| get the protected member Pair1D_extra::m_z_S[i] More... | |
| virtual std::vector< double > | z_S () const |
| get the protected member Pair1D_extra::m_z_S More... | |
| virtual double | z_sigma (const int i) const |
| get the protected member Pair1D_extra::m_z_sigma[i] More... | |
| virtual std::vector< double > | z_sigma () const |
| get the protected member Pair1D_extra::m_z_sigma More... | |
| virtual double | PP1D (const int i) const |
| get the member m_PP1D[i] More... | |
| virtual std::vector< double > | PP1D () const |
| get the member std::vector<double> m_PP1D More... | |
| virtual double | PP1D_weighted (const int i) const |
| get the member m_PP1D_weighted[i] More... | |
| virtual std::vector< double > | PP1D_weighted () const |
| get the member std::vector<double> m_PP1D_weighted More... | |
| virtual double | scale_D1 (const int i) const |
| get the member m_scale_D1[i] More... | |
| virtual std::vector< double > | scale_D1 () const |
| get the member std::vector<double> m_scale_D1 More... | |
| virtual double | scale_D2 (const int i) const |
| get the member m_scale_D2[i] More... | |
| virtual std::vector< double > | scale_D2 () const |
| get the member std::vector<double> m_scale_D2 More... | |
| virtual double | scale_D1_mean (const int i, const int j) const |
| get the protected member m_scale_D1[i][j] More... | |
| virtual std::vector< std::vector< double > > | scale_D1_mean () const |
| get the protected member m_scale_D1 More... | |
| virtual double | scale_D2_mean (const int i, const int j) const |
| get the protected member m_scale_D2[i][j] More... | |
| virtual std::vector< std::vector< double > > | scale_D2_mean () const |
| get the protected member m_scale_D2 More... | |
| virtual double | scale_D1_S (const int i, const int j) const |
| get the member m_scale_D1_S[i][j] More... | |
| virtual std::vector< std::vector< double > > | scale_D1_S () const |
| get the member std::vector<double> m_scale_D1 More... | |
| virtual double | scale_D2_S (const int i, const int j) const |
| get the member m_scale_D2[i][j] More... | |
| virtual std::vector< std::vector< double > > | scale_D2_S () const |
| get the member std::vector<double> m_scale_D2 More... | |
| virtual double | scale_D1_sigma (const int i, const int j) const |
| get the member m_scale_D1_sigma[i][j] More... | |
| virtual std::vector< std::vector< double > > | scale_D1_sigma () const |
| get the member std::vector<double> m_scale_D1 More... | |
| virtual double | scale_D2_sigma (const int i, const int j) const |
| get the member m_scale_D2[i][j] More... | |
| virtual std::vector< std::vector< double > > | scale_D2_sigma () const |
| get the member std::vector<double> m_scale_D2 More... | |
| virtual double | z_mean (const int i, const int j) const |
| get the protected member m_z_mean[i][j] More... | |
| virtual std::vector< std::vector< double > > | z_mean2D () const |
| get the protected member m_z_mean More... | |
| virtual double | z_S (const int i, const int j) const |
| get the member m_z_sigma[i][j] More... | |
| virtual double | z_sigma (const int i, const int j) const |
| get the member m_z_sigma[i][j] More... | |
| virtual std::vector< std::vector< double > > | z_sigma2D () const |
| get the member std::vector<double> m_z_sigma More... | |
| virtual double | PP2D (const int i, const int j) const |
| get the member m_PP2D[i][j] More... | |
| virtual std::vector< std::vector< double > > | PP2D () const |
| get the member std::vector<std::vector<double>> m_PP2D More... | |
| virtual double | PP2D_weighted (const int i, const int j) const |
| get the member m_PP2D_weighted[i][j] More... | |
| virtual std::vector< std::vector< double > > | PP2D_weighted () const |
| get the member std::vector<std::vector<double>> m_PP2D_weighted More... | |
| virtual double | binSize_inv () const |
| get the member m_binSize_inv More... | |
| virtual int | nbins () const |
| get the member m_nbins More... | |
| virtual double | shift () const |
| get the member m_shift More... | |
| virtual double | binSize_inv_D1 () const |
| get the member m_binSize_inv_D1 More... | |
| virtual int | nbins_D1 () const |
| get the member m_nbins_D1 More... | |
| virtual double | shift_D1 () const |
| get the member m_shift_D1 More... | |
| virtual double | binSize_inv_D2 () const |
| get the member m_binSize_inv_D2 More... | |
| virtual int | nbins_D2 () const |
| get the member m_nbins_D2 More... | |
| virtual double | shift_D2 () const |
| get the member m_shift_D2 More... | |
| virtual double | sMin () const |
| get the minimum separation More... | |
| virtual double | sMax () const |
| get the the minimum separation More... | |
| virtual double | sMin_D1 () const |
| get the minimum separation in the first dimension More... | |
| virtual double | sMax_D1 () const |
| get the the minimum separation in the first dimension More... | |
| virtual double | sMin_D2 () const |
| get the minimum separation in the second dimension More... | |
| virtual double | sMax_D2 () const |
| get the the minimum separation in the second dimension More... | |
Member functions used to set private/protected members | |
| virtual void | reset ()=0 |
| reset the pair counts More... | |
| virtual void | set_PP1D (const int i, const double pp) |
| set the member m_PP1D[i] More... | |
| virtual void | set_PP1D_weighted (const int i, const double pp) |
| set the member m_PP1D_weighted[i] More... | |
| virtual void | set_PP2D (const int i, const int j, const double pp) |
| set the member m_PP2D[i][j] More... | |
| virtual void | set_PP2D_weighted (const int i, const int j, const double pp) |
| set the member m_PP2D_weighted[i][j] More... | |
| virtual void | add_data1D (const int i, const std::vector< double > data) |
| set the protected members by adding new 1D data More... | |
| virtual void | add_data1D (const int i, const std::shared_ptr< pairs::Pair > pair, const double ww=1.) |
| set the protected members by adding new 1D data More... | |
| virtual void | add_data2D (const int i, const int j, const std::vector< double > data) |
| set the protected members by adding new 2D data More... | |
| virtual void | add_data2D (const int i, const int j, const std::shared_ptr< pairs::Pair > pair, const double ww=1.) |
| set the protected members by adding new 2D data More... | |
Member functions used to handle object pairs (customized in all the derived classes) | |
| virtual void | get (const std::shared_ptr< catalogue::Object > obj1, const std::shared_ptr< catalogue::Object > obj2, int &kk, double &wkk) |
| get the pair index and weight More... | |
| virtual void | get (const std::shared_ptr< catalogue::Object > obj1, const std::shared_ptr< catalogue::Object > obj2, int &kk, double &cosmu, double &wkk) |
| get the pair index and weight More... | |
| virtual void | get (const std::shared_ptr< catalogue::Object > obj1, const std::shared_ptr< catalogue::Object > obj2, int &ir, int &jr, double &ww) |
| get the pair index and weight More... | |
| virtual void | set (const int kk, const double wkk, const double weight=1) |
| set the pair vector More... | |
| virtual void | set (const double cosmu, const int kk, const double wkk, const double weight=1) |
| set the pair vector More... | |
| virtual void | set (const int ir, const int jr, const double ww, const double weight=1) |
| set the pair vector More... | |
| virtual void | put (const std::shared_ptr< catalogue::Object > obj1, const std::shared_ptr< catalogue::Object > obj2)=0 |
| estimate the distance between two objects and update the pair vector accordingly More... | |
| virtual void | Sum (const std::shared_ptr< Pair > pp, const double ww=1)=0 |
| sum the number of binned pairs More... | |
Protected Attributes | |
| Dim | m_pairDim |
| pair dimension | |
| PairType | m_pairType |
| pair type | |
| PairInfo | m_pairInfo |
| pair info | |
| CoordinateUnits | m_angularUnits |
| angular units | |
| FunctionDoubleDouble | m_angularWeight |
| angular weight function | |
Private Member Functions | |
Member functions used to set the binning parameters (customized in all the derived classes) | |
| virtual void | m_set_parameters_nbins ()=0 |
| set the binning parameters given the number of bins | |
| virtual void | m_set_parameters_binSize ()=0 |
| set the binning parameters given the bin size | |
Constructors/destructors | |
| Pair ()=default | |
| default constuctor | |
| virtual | ~Pair ()=default |
| default destructor | |
| static std::shared_ptr< Pair > | Create (const PairType type, const PairInfo info, const double Min, const double Max, const int nbins, const double shift, const CoordinateUnits angularUnits=CoordinateUnits::_radians_, FunctionDoubleDouble angularWeight=nullptr) |
| static factory used to construct pairs of any type More... | |
| static std::shared_ptr< Pair > | Create (const PairType type, const PairInfo info, const double Min, const double Max, const double binSize, const double shift, const CoordinateUnits angularUnits=CoordinateUnits::_radians_, FunctionDoubleDouble angularWeight=nullptr) |
| static factory used to construct pairs of any type More... | |
| static std::shared_ptr< Pair > | Create (const PairType type, const PairInfo info, const double Min_D1, const double Max_D1, const int nbins_D1, const double shift_D1, const double Min_D2, const double Max_D2, const int nbins_D2, const double shift_D2, const CoordinateUnits angularUnits=CoordinateUnits::_radians_, FunctionDoubleDouble angularWeight=nullptr) |
| static factory used to construct pairs of any type More... | |
| static std::shared_ptr< Pair > | Create (const PairType type, const PairInfo info, const double Min_D1, const double Max_D1, const double binSize_D1, const double shift_D1, const double Min_D2, const double Max_D2, const double binSize_D2, const double shift_D2, const CoordinateUnits angularUnits=CoordinateUnits::_radians_, FunctionDoubleDouble angularWeight=nullptr) |
| static factory used to construct pairs of any type More... | |
The class Pair.
This class is used to handle objects of type Pair . It contains all virtual member functions implemented in the derived classes
|
inlinevirtual |
set the protected members by adding new 1D data
| i | the bin index |
| pair | pointer to an object of class Pair |
| ww | a multiplicative factor used for bootstrap |
Reimplemented in cbl::pairs::Pair1D_extra, and cbl::pairs::Pair1D.
|
inlinevirtual |
set the protected members by adding new 1D data
| i | the bin index |
| data | vector containing the new data to be added |
Reimplemented in cbl::pairs::Pair1D_extra, and cbl::pairs::Pair1D.
|
inlinevirtual |
set the protected members by adding new 2D data
| i | the bin index in the first dimension |
| j | the bin index in the second dimension |
| pair | pair pointer to an object of class Pair |
| ww | a multiplicative factor used for bootstrap |
Reimplemented in cbl::pairs::Pair2D_extra, and cbl::pairs::Pair2D.
|
inlinevirtual |
set the protected members by adding new 2D data
| i | the bin index in the first dimension |
| j | the bin index in the second dimension |
| data | vector containing the new data to be added |
Reimplemented in cbl::pairs::Pair2D_extra, and cbl::pairs::Pair2D.
|
inline |
|
inline |
|
inlinevirtual |
get the member m_binSize_inv
Reimplemented in cbl::pairs::Pair1D.
|
inlinevirtual |
get the member m_binSize_inv_D1
Reimplemented in cbl::pairs::Pair2D.
|
inlinevirtual |
get the member m_binSize_inv_D2
Reimplemented in cbl::pairs::Pair2D.
|
static |
static factory used to construct pairs of any type
| type | the pair type; it can be: _angular_lin_, _angular_log_, _comoving_lin_, _comoving_log_, _comoving_multipoles_lin_, _comoving_multipoles_log_ |
| info | the pair information; it can be: _standard_ or _extra_ |
| Min | minimum value of the separation (comoving or angular) used to count the pairs |
| Max | maximum value of the separation (comoving or angular) used to count the pairs |
| binSize | the bin size |
| shift | shift parameter, i.e. the radial shift is binSize*shift |
| angularUnits | angular units |
| angularWeight | angular weight function |
|
static |
static factory used to construct pairs of any type
| type | the pair type; it can be: _angular_lin_, _angular_log_, _comoving_lin_, _comoving_log_ _comoving_multipoles_lin_, _comoving_multipoles_log_ |
| info | the pair information; it can be: _standard_ or _extra_ |
| Min | minimum value of the separation (comoving or angular) used to count the pairs |
| Max | maximum value of the separation (comoving or angular) used to count the pairs |
| nbins | number of bins |
| shift | shift parameter, i.e. the radial shift is binSize*shift |
| angularUnits | angular units |
| angularWeight | angular weight function |
|
static |
static factory used to construct pairs of any type
| type | the pair type; it can be: _comovingCartesian_linlin_, _comovingCartesian_linlog_, _comovingCartesian_loglin_, _comovingCartesian_loglog_, _comovingPolar_linlin_, _comovingPolar_linlog_, _comovingPolar_loglin_, _comovingPolar_loglog_ |
| info | the pair information; it can be: _standard_ or _extra_ |
| Min_D1 | minimum value of the separation (comoving or angular) in the first direction used to count the pairs |
| Max_D1 | maximum value of the separation (comoving or angular) in the first direction used to count the pairs |
| binSize_D1 | the bin size in the first direction |
| shift_D1 | shift parameter in the first direction, i.e. the radial shift is binSize*shift |
| Min_D2 | minimum value of the separation (comoving or angular) in the second direction used to count the pairs |
| Max_D2 | maximum value of the separation (comoving or angular) in the second direction used to count the pairs |
| binSize_D2 | the bin size in the second direction |
| shift_D2 | shift parameter in the second direction, i.e. the radial shift is binSize*shift |
| angularUnits | angular units |
| angularWeight | angular weight function |
|
static |
static factory used to construct pairs of any type
| type | the pair type; it can be: _comovingCartesian_linlin_, _comovingCartesian_linlog_, _comovingCartesian_loglin_, _comovingCartesian_loglog_, _comovingPolar_linlin_, _comovingPolar_linlog_, _comovingPolar_loglin_, _comovingPolar_loglog_ |
| info | the pair information; it can be: _standard_ or _extra_ |
| Min_D1 | minimum value of the separation (comoving or angular) in the first direction used to count the pairs |
| Max_D1 | maximum value of the separation (comoving or angular) in the first direction used to count the pairs |
| nbins_D1 | number of bins in the first direction |
| shift_D1 | shift parameter in the first direction, i.e. the radial shift is binSize*shift |
| Min_D2 | minimum value of the separation (comoving or angular) in the second direction used to count the pairs |
| Max_D2 | maximum value of the separation (comoving or angular) in the second direction used to count the pairs |
| nbins_D2 | number of bins in the second direction |
| shift_D2 | shift parameter in the second direction, i.e. the radial shift is binSize*shift |
| angularUnits | angular units |
| angularWeight | angular weight function |
|
inlinevirtual |
get the pair index and weight
| obj1 | pointer to an object of class Object |
| obj2 | pointer to an object of class Object |
| ir | the bin index in the first dimension |
| jr | the bin index in the second dimension |
| ww | weight of the pair |
Reimplemented in cbl::pairs::Pair2D_comovingPolar_loglog, cbl::pairs::Pair2D_comovingPolar_linlog, cbl::pairs::Pair2D_comovingPolar_loglin, cbl::pairs::Pair2D_comovingPolar_linlin, cbl::pairs::Pair2D_comovingCartesian_loglog, cbl::pairs::Pair2D_comovingCartesian_linlog, cbl::pairs::Pair2D_comovingCartesian_loglin, and cbl::pairs::Pair2D_comovingCartesian_linlin.
|
inlinevirtual |
get the pair index and weight
| obj1 | pointer to an object of class Object |
| obj2 | pointer to an object of class Object |
| kk | index of the pairs |
| cosmu | cosine of the angle between objects |
| wkk | weight of the pair |
Reimplemented in cbl::pairs::Pair1D_comoving_multipoles_log, and cbl::pairs::Pair1D_comoving_multipoles_lin.
|
inlinevirtual |
get the pair index and weight
| obj1 | pointer to an object of class Object |
| obj2 | pointer to an object of class Object |
| kk | index of the pairs |
| wkk | weight of the pair |
Reimplemented in cbl::pairs::Pair1D_comoving_log, cbl::pairs::Pair1D_comoving_lin, cbl::pairs::Pair1D_angular_log, and cbl::pairs::Pair1D_angular_lin.
|
inlinevirtual |
|
inlinevirtual |
get the member m_nbins_D1
Reimplemented in cbl::pairs::Pair2D.
|
inlinevirtual |
get the member m_nbins_D2
Reimplemented in cbl::pairs::Pair2D.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
get the member std::vector<double> m_PP1D
Reimplemented in cbl::pairs::Pair1D.
|
inlinevirtual |
get the member m_PP1D[i]
| i | the bin index |
Reimplemented in cbl::pairs::Pair1D.
|
inlinevirtual |
get the member std::vector<double> m_PP1D_weighted
Reimplemented in cbl::pairs::Pair1D.
|
inlinevirtual |
get the member m_PP1D_weighted[i]
| i | the bin index |
Reimplemented in cbl::pairs::Pair1D.
|
inlinevirtual |
get the member std::vector<std::vector<double>> m_PP2D
Reimplemented in cbl::pairs::Pair2D.
|
inlinevirtual |
get the member m_PP2D[i][j]
| i | the bin index in the first dimension |
| j | the bin index in the second dimension |
Reimplemented in cbl::pairs::Pair2D.
|
inlinevirtual |
get the member std::vector<std::vector<double>> m_PP2D_weighted
Reimplemented in cbl::pairs::Pair2D.
|
inlinevirtual |
get the member m_PP2D_weighted[i][j]
| i | the bin index in the first dimension |
| j | the bin index in the second dimension |
Reimplemented in cbl::pairs::Pair2D.
|
pure virtual |
estimate the distance between two objects and update the pair vector accordingly
| obj1 | pointer to an object of class Object |
| obj2 | pointer to an object of class Object |
Implemented in cbl::pairs::Pair2D_comovingPolar_loglog_extra, cbl::pairs::Pair2D_comovingPolar_linlog_extra, cbl::pairs::Pair2D_comovingPolar_loglin_extra, cbl::pairs::Pair2D_comovingPolar_linlin_extra, cbl::pairs::Pair2D_comovingCartesian_loglog_extra, cbl::pairs::Pair2D_comovingCartesian_linlog_extra, cbl::pairs::Pair2D_comovingCartesian_loglin_extra, cbl::pairs::Pair2D_comovingCartesian_linlin_extra, cbl::pairs::Pair2D_comovingPolar_loglog, cbl::pairs::Pair2D_comovingPolar_linlog, cbl::pairs::Pair2D_comovingPolar_loglin, cbl::pairs::Pair2D_comovingPolar_linlin, cbl::pairs::Pair2D_comovingCartesian_loglog, cbl::pairs::Pair2D_comovingCartesian_linlog, cbl::pairs::Pair2D_comovingCartesian_loglin, cbl::pairs::Pair2D_comovingCartesian_linlin, cbl::pairs::Pair1D_comoving_multipoles_log_extra, cbl::pairs::Pair1D_comoving_multipoles_lin_extra, cbl::pairs::Pair1D_comoving_log_extra, cbl::pairs::Pair1D_comoving_lin_extra, cbl::pairs::Pair1D_angular_log_extra, cbl::pairs::Pair1D_angular_lin_extra, cbl::pairs::Pair1D_comoving_multipoles_log, cbl::pairs::Pair1D_comoving_multipoles_lin, cbl::pairs::Pair1D_comoving_log, cbl::pairs::Pair1D_comoving_lin, cbl::pairs::Pair1D_angular_log, and cbl::pairs::Pair1D_angular_lin.
|
pure virtual |
reset the pair counts
set to 0 the pair vector elements
Implemented in cbl::pairs::Pair2D, and cbl::pairs::Pair1D.
|
inlinevirtual |
get the member std::vector<double> m_scale
Reimplemented in cbl::pairs::Pair1D.
|
inlinevirtual |
get the member m_scale[i]
| i | the bin index |
Reimplemented in cbl::pairs::Pair1D.
|
inlinevirtual |
get the member std::vector<double> m_scale_D1
Reimplemented in cbl::pairs::Pair2D.
|
inlinevirtual |
get the member m_scale_D1[i]
| i | the bin index |
Reimplemented in cbl::pairs::Pair2D.
|
inlinevirtual |
get the protected member m_scale_D1
Reimplemented in cbl::pairs::Pair2D_extra.
|
inlinevirtual |
get the protected member m_scale_D1[i][j]
| i | the bin index in the first dimension |
| j | the bin index in the second dimension |
Reimplemented in cbl::pairs::Pair2D_extra.
|
inlinevirtual |
get the member std::vector<double> m_scale_D1
Reimplemented in cbl::pairs::Pair2D_extra.
|
inlinevirtual |
get the member m_scale_D1_S[i][j]
| i | the bin index in the first dimension |
| j | the bin index in the second dimension |
Reimplemented in cbl::pairs::Pair2D_extra.
|
inlinevirtual |
get the member std::vector<double> m_scale_D1
Reimplemented in cbl::pairs::Pair2D_extra.
|
inlinevirtual |
get the member m_scale_D1_sigma[i][j]
| i | the bin index in the first dimension |
| j | the bin index in the second dimension |
Reimplemented in cbl::pairs::Pair2D_extra.
|
inlinevirtual |
get the member std::vector<double> m_scale_D2
Reimplemented in cbl::pairs::Pair2D.
|
inlinevirtual |
get the member m_scale_D2[i]
| i | the bin index |
Reimplemented in cbl::pairs::Pair2D.
|
inlinevirtual |
get the protected member m_scale_D2
Reimplemented in cbl::pairs::Pair2D_extra.
|
inlinevirtual |
get the protected member m_scale_D2[i][j]
| i | the bin index in the first dimension |
| j | the bin index in the second dimension |
Reimplemented in cbl::pairs::Pair2D_extra.
|
inlinevirtual |
get the member std::vector<double> m_scale_D2
Reimplemented in cbl::pairs::Pair2D_extra.
|
inlinevirtual |
get the member m_scale_D2[i][j]
| i | the bin index in the first dimension |
| j | the bin index in the second dimension |
Reimplemented in cbl::pairs::Pair2D_extra.
|
inlinevirtual |
get the member std::vector<double> m_scale_D2
Reimplemented in cbl::pairs::Pair2D_extra.
|
inlinevirtual |
get the member m_scale_D2[i][j]
| i | the bin index in the first dimension |
| j | the bin index in the second dimension |
Reimplemented in cbl::pairs::Pair2D_extra.
|
inlinevirtual |
get the member std::vector<double> m_scale_mean
Reimplemented in cbl::pairs::Pair1D_extra.
|
inlinevirtual |
get the member m_scale_mean[i]
| i | the bin index |
Reimplemented in cbl::pairs::Pair1D_extra.
|
inlinevirtual |
get the member std::vector<double> m_scale_S
Reimplemented in cbl::pairs::Pair1D_extra.
|
inlinevirtual |
get the member m_scale_S[i]
| i | the bin index |
Reimplemented in cbl::pairs::Pair1D_extra.
|
inlinevirtual |
get the member std::vector<double> m_scale_sigma
Reimplemented in cbl::pairs::Pair1D_extra.
|
inlinevirtual |
get the member m_scale_sigma[i]
| i | the bin index |
Reimplemented in cbl::pairs::Pair1D_extra.
|
inlinevirtual |
set the pair vector
| cosmu | cosine of the angle between objects |
| kk | index of the pairs |
| wkk | weight of the pair |
| weight | the weght of the region |
Reimplemented in cbl::pairs::Pair1D_comoving_multipoles_log, and cbl::pairs::Pair1D_comoving_multipoles_lin.
|
inlinevirtual |
set the pair vector
| ir | the bin index in the first dimension |
| jr | the bin index in the second dimension |
| ww | weight of the pair |
| weight | the weight of the region |
Reimplemented in cbl::pairs::Pair2D_comovingPolar_loglog, cbl::pairs::Pair2D_comovingPolar_linlog, cbl::pairs::Pair2D_comovingPolar_loglin, cbl::pairs::Pair2D_comovingPolar_linlin, cbl::pairs::Pair2D_comovingCartesian_loglog, cbl::pairs::Pair2D_comovingCartesian_linlog, cbl::pairs::Pair2D_comovingCartesian_loglin, and cbl::pairs::Pair2D_comovingCartesian_linlin.
|
inlinevirtual |
set the pair vector
| kk | index of the pairs |
| wkk | weight of the pair |
| weight | the weight of the region |
Reimplemented in cbl::pairs::Pair1D_comoving_log, cbl::pairs::Pair1D_comoving_lin, cbl::pairs::Pair1D_angular_log, and cbl::pairs::Pair1D_angular_lin.
|
inlinevirtual |
set the member m_PP1D[i]
| i | the bin index |
| pp | the number of pairs in the bin |
Reimplemented in cbl::pairs::Pair1D.
|
inlinevirtual |
set the member m_PP1D_weighted[i]
| i | the bin index |
| pp | the number of weighted pairs in the bin |
Reimplemented in cbl::pairs::Pair1D.
|
inlinevirtual |
set the member m_PP2D[i][j]
| i | the bin index in the first dimension |
| j | the bin index in the second dimension |
| pp | the number of pairs in the bin |
Reimplemented in cbl::pairs::Pair2D.
|
inlinevirtual |
set the member m_PP2D_weighted[i][j]
| i | the bin index in the first dimension |
| j | the bin index in the second dimension |
| pp | the number of weighted pairs in the bin |
Reimplemented in cbl::pairs::Pair2D.
|
inlinevirtual |
get the member m_shift
Reimplemented in cbl::pairs::Pair1D.
|
inlinevirtual |
get the member m_shift_D1
Reimplemented in cbl::pairs::Pair2D.
|
inlinevirtual |
get the member m_shift_D2
Reimplemented in cbl::pairs::Pair2D.
|
inlinevirtual |
get the the minimum separation
Reimplemented in cbl::pairs::Pair1D_comoving_multipoles, cbl::pairs::Pair1D_comoving, and cbl::pairs::Pair1D_angular.
|
inlinevirtual |
get the the minimum separation in the first dimension
Reimplemented in cbl::pairs::Pair2D_comovingPolar, and cbl::pairs::Pair2D_comovingCartesian.
|
inlinevirtual |
get the the minimum separation in the second dimension
Reimplemented in cbl::pairs::Pair2D_comovingPolar, and cbl::pairs::Pair2D_comovingCartesian.
|
inlinevirtual |
get the minimum separation
Reimplemented in cbl::pairs::Pair1D_comoving_multipoles, cbl::pairs::Pair1D_comoving, and cbl::pairs::Pair1D_angular.
|
inlinevirtual |
get the minimum separation in the first dimension
Reimplemented in cbl::pairs::Pair2D_comovingPolar, and cbl::pairs::Pair2D_comovingCartesian.
|
inlinevirtual |
get the minimum separation in the second dimension
Reimplemented in cbl::pairs::Pair2D_comovingPolar, and cbl::pairs::Pair2D_comovingCartesian.
|
pure virtual |
sum the number of binned pairs
| pp | an object of class Pair |
| ww | the weight |
Implemented in cbl::pairs::Pair2D, cbl::pairs::Pair2D_extra, cbl::pairs::Pair1D_comoving_multipoles_log_extra, cbl::pairs::Pair1D_comoving_multipoles_lin_extra, cbl::pairs::Pair1D_extra, cbl::pairs::Pair1D_comoving_multipoles_log, cbl::pairs::Pair1D_comoving_multipoles_lin, and cbl::pairs::Pair1D.
|
inlinevirtual |
get the protected member Pair1D_extra::m_z_mean
Reimplemented in cbl::pairs::Pair1D_extra.
|
inlinevirtual |
get the protected member Pair1D_extra::m_z_mean[i]
| i | the bin index |
Reimplemented in cbl::pairs::Pair1D_extra.
|
inlinevirtual |
get the protected member m_z_mean[i][j]
| i | the bin index in the first dimension |
| j | the bin index in the second dimension |
Reimplemented in cbl::pairs::Pair2D_extra.
|
inlinevirtual |
|
inlinevirtual |
get the protected member Pair1D_extra::m_z_S
Reimplemented in cbl::pairs::Pair1D_extra.
|
inlinevirtual |
get the protected member Pair1D_extra::m_z_S[i]
| i | the bin index |
Reimplemented in cbl::pairs::Pair1D_extra.
|
inlinevirtual |
get the member m_z_sigma[i][j]
| i | the bin index in the first dimension |
| j | the bin index in the second dimension |
Reimplemented in cbl::pairs::Pair2D_extra.
|
inlinevirtual |
get the protected member Pair1D_extra::m_z_sigma
Reimplemented in cbl::pairs::Pair1D_extra.
|
inlinevirtual |
get the protected member Pair1D_extra::m_z_sigma[i]
| i | the bin index |
Reimplemented in cbl::pairs::Pair1D_extra.
|
inlinevirtual |
get the member m_z_sigma[i][j]
| i | the bin index in the first dimension |
| j | the bin index in the second dimension |
Reimplemented in cbl::pairs::Pair2D_extra.
|
inlinevirtual |