Triumvirate C++ API 0.5.0.post1.dev301+g026f21751
Three-point clustering measurements in large-scale structure analyses.
Loading...
Searching...
No Matches
trv Namespace Reference

Namespaces

namespace  array
 
namespace  io
 
namespace  maths
 
namespace  sys
 

Classes

struct  BinnedVectors
 Binned vectors. More...
 
class  Binning
 Isotropic coordinate binning. More...
 
struct  BispecMeasurements
 Bispectrum measurements. More...
 
class  FieldStats
 Field (pseudo-two-point) statistics. More...
 
struct  LineOfSight
 Line-of-sight vector. More...
 
class  MeshField
 Discretely sampled field on a mesh grid from particle catalogues. More...
 
class  ParameterSet
 Parameter set. More...
 
class  ParticleCatalogue
 Particle catalogue. More...
 
struct  ParticleData
 Particle data container. More...
 
struct  PowspecMeasurements
 Power spectrum measurements. More...
 
struct  SphericalOrderTriplet
 Spherical order triplet \( (m_1, m_2, M) \). More...
 
struct  ThreePCFMeasurements
 Three-point correlation function measurements. More...
 
struct  ThreePCFWindowMeasurements
 Three-point correlation function window measurements. More...
 
struct  TwoPCFMeasurements
 Two-point correlation function measurements. More...
 
struct  TwoPCFWindowMeasurements
 Two-point correlation function window measurements. More...
 

Functions

void override_paramset_by_envvars (trv::ParameterSet &params)
 Override parameter set by environment variables.
 
void set_boxsize_from_expand (const double *spans, trv::ParameterSet &params)
 Set the box size parameters from the box expansion factor.
 
void set_ngrid_from_cutoff (trv::ParameterSet &params)
 Set the grid cell numbers from the box size and the Nyquist cutoff.
 
double calc_coupling_coeff_3pt (int ell1, int ell2, int ELL, int m1, int m2, int M)
 Calculate the coupling coefficient for spherical-harmonic components of full three-point statistics.
 
void validate_multipole_coupling (trv::ParameterSet &params)
 Validate three-point correlator multipoles are non-vanishing.
 
double calc_bispec_normalisation_from_particles (ParticleCatalogue &particles, double alpha=1.)
 Calculate particle-based bispectrum normalisation.
 
double calc_bispec_normalisation_from_mesh (ParticleCatalogue &particles, trv::ParameterSet &params, double alpha=1.)
 Calculate mesh-based bispectrum normalisation.
 
std::complex< double > calc_ylm_wgtd_shotnoise_amp_for_bispec (ParticleCatalogue &particles_data, ParticleCatalogue &particles_rand, LineOfSight *los_data, LineOfSight *los_rand, double alpha, int ell, int m)
 Calculate bispectrum shot noise amplitude weighted by reduced spherical harmonics.
 
std::complex< double > calc_ylm_wgtd_shotnoise_amp_for_bispec (ParticleCatalogue &particles, LineOfSight *los, double alpha, int ell, int m)
 Calculate bispectrum shot noise amplitude weighted by reduced spherical harmonics.
 
trv::BispecMeasurements compute_bispec (ParticleCatalogue &catalogue_data, ParticleCatalogue &catalogue_rand, LineOfSight *los_data, LineOfSight *los_rand, trv::ParameterSet &params, trv::Binning &kbinning, double norm_factor)
 Compute bispectrum from paired survey-type catalogues.
 
trv::ThreePCFMeasurements compute_3pcf (ParticleCatalogue &catalogue_data, ParticleCatalogue &catalogue_rand, LineOfSight *los_data, LineOfSight *los_rand, trv::ParameterSet &params, trv::Binning &rbinning, double norm_factor)
 Compute three-point correlation function from paired survey-type catalogues.
 
trv::BispecMeasurements compute_bispec_in_gpp_box (ParticleCatalogue &catalogue_data, trv::ParameterSet &params, trv::Binning kbinning, double norm_factor)
 Compute bispectrum in a periodic box in the global plane-parallel approximation.
 
trv::ThreePCFMeasurements compute_3pcf_in_gpp_box (ParticleCatalogue &catalogue_data, trv::ParameterSet &params, trv::Binning &rbinning, double norm_factor)
 Compute three-point correlation function in a periodic box in the global plane-parallel approximation.
 
trv::ThreePCFWindowMeasurements compute_3pcf_window (ParticleCatalogue &catalogue_rand, LineOfSight *los_rand, trv::ParameterSet &params, trv::Binning &rbinning, double alpha, double norm_factor, bool wide_angle=false)
 Compute three-point correlation function window from a random catalogue.
 
double calc_coupling_coeff_2pt (int ell, int ELL, int m, int M)
 Calculate the coupling coefficient for spherical-harmonic components of full two-point statistics.
 
double calc_powspec_normalisation_from_particles (ParticleCatalogue &particles, double alpha=1.)
 Calculate particle-based power spectrum normalisation.
 
double calc_powspec_normalisation_from_mesh (trv::ParticleCatalogue &particles, trv::ParameterSet &params, double alpha=1.)
 Calculate mesh-based power spectrum normalisation.
 
double calc_powspec_normalisation_from_meshes (trv::ParticleCatalogue &particles_data, trv::ParticleCatalogue &particles_rand, trv::ParameterSet &params, double alpha)
 Calculate power spectrum normalisation from mixed meshes.
 
double calc_powspec_normalisation_from_meshes (trv::ParticleCatalogue &particles_data, trv::ParticleCatalogue &particles_rand, trv::ParameterSet &params, double alpha, double padding, double cellsize, const std::string &assignment)
 Calculate power spectrum normalisation from mixed meshes.
 
double calc_powspec_shotnoise_from_particles (ParticleCatalogue &particles, double alpha=1.)
 Calculate particle-based power spectrum shot noise level.
 
std::complex< double > calc_ylm_wgtd_shotnoise_amp_for_powspec (ParticleCatalogue &particles_data, ParticleCatalogue &particles_rand, LineOfSight *los_data, LineOfSight *los_rand, double alpha, int ell, int m)
 Calculate power spectrum shot noise weighted by reduced spherical harmonics.
 
std::complex< double > calc_ylm_wgtd_shotnoise_amp_for_powspec (ParticleCatalogue &particles, LineOfSight *los, double alpha, int ell, int m)
 Calculate power spectrum shot noise weighted by reduced spherical harmonics.
 
trv::PowspecMeasurements compute_powspec (ParticleCatalogue &catalogue_data, ParticleCatalogue &catalogue_rand, LineOfSight *los_data, LineOfSight *los_rand, trv::ParameterSet &params, trv::Binning &kbinning, double norm_factor)
 Compute power spectrum from paired survey-type catalogues.
 
trv::TwoPCFMeasurements compute_corrfunc (ParticleCatalogue &catalogue_data, ParticleCatalogue &catalogue_rand, LineOfSight *los_data, LineOfSight *los_rand, trv::ParameterSet &params, trv::Binning &rbinning, double norm_factor)
 Compute two-point correlation function from paired survey-type catalogues.
 
trv::PowspecMeasurements compute_powspec_in_gpp_box (ParticleCatalogue &catalogue_data, trv::ParameterSet &params, trv::Binning kbinning, double norm_factor)
 Compute power spectrum in a periodic box in the global plane-parallel approximation.
 
trv::TwoPCFMeasurements compute_corrfunc_in_gpp_box (ParticleCatalogue &catalogue_data, trv::ParameterSet &params, trv::Binning &rbinning, double norm_factor)
 Compute two-point correlation function in a periodic box in the global plane-parallel approximation.
 
trv::TwoPCFWindowMeasurements compute_corrfunc_window (trv::ParticleCatalogue &catalogue_rand, trv::LineOfSight *los_rand, trv::ParameterSet &params, trv::Binning rbinning, double alpha, double norm_factor)
 Compute two-point correlation function window from a random catalogue and optionally save the results.
 

Function Documentation

◆ override_paramset_by_envvars()

void trv::override_paramset_by_envvars ( trv::ParameterSet & params)

Override parameter set by environment variables.

The environment variables are expected to be in the form TRV_OVERRIDE_<PARAMETER_NAME>.

Parameters
[in,out]paramsParameter set.

Definition at line 1382 of file parameters.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set_boxsize_from_expand()

void trv::set_boxsize_from_expand ( const double * spans,
trv::ParameterSet & params )

Set the box size parameters from the box expansion factor.

Parameters
[in]spansParticle coordinate span in each dimension.
[in,out]paramsParameter set.

Definition at line 1416 of file parameters.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ set_ngrid_from_cutoff()

void trv::set_ngrid_from_cutoff ( trv::ParameterSet & params)

Set the grid cell numbers from the box size and the Nyquist cutoff.

Parameters
[in,out]paramsParameter set.

Definition at line 1434 of file parameters.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ calc_coupling_coeff_3pt()

double trv::calc_coupling_coeff_3pt ( int ell1,
int ell2,
int ELL,
int m1,
int m2,
int M )

Calculate the coupling coefficient for spherical-harmonic components of full three-point statistics.

The calculated quantity is

\[ (2\ell_1 + 1) (2\ell_2 + 1) (2L + 1) W(\ell_1, \ell_2, L; 0, 0, 0) W(\ell_1, \ell_2, L; m, 0, M) \,. \]

Parameters
ell1,ell2,ELL,m1,m2,MWigner 3-j components.
Returns
Coupling coefficient for spherical-harmonic components in three-point statistics.

Definition at line 65 of file threept.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ validate_multipole_coupling()

void trv::validate_multipole_coupling ( trv::ParameterSet & params)

Validate three-point correlator multipoles are non-vanishing.

Parameters
paramsParameter set.

Definition at line 73 of file threept.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ calc_bispec_normalisation_from_particles()

double trv::calc_bispec_normalisation_from_particles ( ParticleCatalogue & particles,
double alpha = 1. )

Calculate particle-based bispectrum normalisation.

Parameters
particlesParticle catalogue.
alphaAlpha contrast (default is 1.).
Returns
Bispectrum normalisation factor.

Definition at line 96 of file threept.cpp.

+ Here is the caller graph for this function:

◆ calc_bispec_normalisation_from_mesh()

double trv::calc_bispec_normalisation_from_mesh ( ParticleCatalogue & particles,
trv::ParameterSet & params,
double alpha = 1. )

Calculate mesh-based bispectrum normalisation.

Parameters
particlesParticle catalogue.
paramsParameter set.
alphaAlpha contrast (default is 1.).
Returns
Bispectrum normalisation factor.

Definition at line 138 of file threept.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ calc_ylm_wgtd_shotnoise_amp_for_bispec() [1/2]

std::complex< double > trv::calc_ylm_wgtd_shotnoise_amp_for_bispec ( ParticleCatalogue & particles_data,
ParticleCatalogue & particles_rand,
LineOfSight * los_data,
LineOfSight * los_rand,
double alpha,
int ell,
int m )

Calculate bispectrum shot noise amplitude weighted by reduced spherical harmonics.

This calculates the quantity

\[ \bar{S}_{LM} = {\sum_i}{\vphantom{\sum}}' y_{LM}^*(\vec{x}_i) w(\vec{x}_i)^3 \,, \]

where if a pair of catalogues are provided,

\[ {\sum_i}{\vphantom{\sum}}' = \sum_{i \in \mathrm{data}} - \alpha^3 \sum_{i \in \mathrm{rand}} \,, \]

and otherwise

\[ {\sum_i}{\vphantom{\sum}}' = \alpha^3 \sum_{i \in \mathrm{data\ or\ rand}} \,. \]

See also
Eq. (46) in Sugiyama et al. (2019) [1803.02132].
Parameters
particles_data(Data-source) particle catalogue.
particles_rand(Random-source) particle catalogue.
los_data(Data-source) particle lines of sight.
los_rand(Random-source) particle lines of sight.
alphaAlpha contrast.
ellDegree of the spherical harmonic.
mOrder of the spherical harmonic.
Returns
Weighted shot-noise contribution for bispectrum.

Definition at line 156 of file threept.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ calc_ylm_wgtd_shotnoise_amp_for_bispec() [2/2]

std::complex< double > trv::calc_ylm_wgtd_shotnoise_amp_for_bispec ( ParticleCatalogue & particles,
LineOfSight * los,
double alpha,
int ell,
int m )

Calculate bispectrum shot noise amplitude weighted by reduced spherical harmonics.

Parameters
particlesParticle catalogue.
losParticle lines of sight.
alphaAlpha contrast.
ellDegree of the spherical harmonic.
mOrder of the spherical harmonic.
Returns
Weighted shot-noise amplitude for bispectrum.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 210 of file threept.cpp.

+ Here is the call graph for this function:

◆ compute_bispec()

trv::BispecMeasurements trv::compute_bispec ( ParticleCatalogue & catalogue_data,
ParticleCatalogue & catalogue_rand,
LineOfSight * los_data,
LineOfSight * los_rand,
trv::ParameterSet & params,
trv::Binning & kbinning,
double norm_factor )

Compute bispectrum from paired survey-type catalogues.

Parameters
catalogue_data(Data-source) particle catalogue.
catalogue_rand(Random-source) particle catalogue.
los_data(Data-source) particle lines of sight.
los_rand(Random-source) particle lines of sight.
paramsParameter set.
kbinningWavenumber binning.
norm_factorNormalisation factor.
Returns
Bispectrum measurements.

Definition at line 248 of file threept.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compute_3pcf()

trv::ThreePCFMeasurements trv::compute_3pcf ( ParticleCatalogue & catalogue_data,
ParticleCatalogue & catalogue_rand,
LineOfSight * los_data,
LineOfSight * los_rand,
trv::ParameterSet & params,
trv::Binning & rbinning,
double norm_factor )

Compute three-point correlation function from paired survey-type catalogues.

Parameters
catalogue_data(Data-source) particle catalogue.
catalogue_rand(Random-source) particle catalogue.
los_data(Data-source) particle lines of sight.
los_rand(Random-source) particle lines of sight.
paramsParameter set.
rbinningSeparation binning.
norm_factorNormalisation factor.
Returns
Three-point correlation function measurements.

Definition at line 1014 of file threept.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compute_bispec_in_gpp_box()

trv::BispecMeasurements trv::compute_bispec_in_gpp_box ( ParticleCatalogue & catalogue_data,
trv::ParameterSet & params,
trv::Binning kbinning,
double norm_factor )

Compute bispectrum in a periodic box in the global plane-parallel approximation.

Parameters
catalogue_data(Data-source) particle catalogue.
paramsParameter set.
kbinningWavenumber binning.
norm_factorNormalisation factor.
Returns
Bispectrum measurements.

Definition at line 1473 of file threept.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compute_3pcf_in_gpp_box()

trv::ThreePCFMeasurements trv::compute_3pcf_in_gpp_box ( ParticleCatalogue & catalogue_data,
trv::ParameterSet & params,
trv::Binning & rbinning,
double norm_factor )

Compute three-point correlation function in a periodic box in the global plane-parallel approximation.

Parameters
catalogue_data(Data-source) particle catalogue.
paramsParameter set.
rbinningSeparation binning.
norm_factorNormalisation factor.
Returns
Three-point correlation function measurements.

Definition at line 2190 of file threept.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compute_3pcf_window()

trv::ThreePCFWindowMeasurements trv::compute_3pcf_window ( ParticleCatalogue & catalogue_rand,
LineOfSight * los_rand,
trv::ParameterSet & params,
trv::Binning & rbinning,
double alpha,
double norm_factor,
bool wide_angle = false )

Compute three-point correlation function window from a random catalogue.

Parameters
catalogue_rand(Random-source) particle catalogue.
los_rand(Random-source) particle lines of sight.
paramsParameter set.
rbinningSeparation binning.
alphaAlpha contrast.
norm_factorNormalisation factor.
wide_angleWhether wide-angle corrections or not (default is false).
Returns
Three-point correlation function window measurements.

Definition at line 2621 of file threept.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ calc_coupling_coeff_2pt()

double trv::calc_coupling_coeff_2pt ( int ell,
int ELL,
int m,
int M )

Calculate the coupling coefficient for spherical-harmonic components of full two-point statistics.

The calculated quantity is

\[ (2\ell + 1) (2L + 1) W(\ell, 0, L; m, 0, M) \,. \]

Parameters
ell,ELL,m,MWigner 3-j components.
Returns
Coupling coefficient for spherical-harmonic components in two-point statistics.

Definition at line 45 of file twopt.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ calc_powspec_normalisation_from_particles()

double trv::calc_powspec_normalisation_from_particles ( ParticleCatalogue & particles,
double alpha = 1. )

Calculate particle-based power spectrum normalisation.

Parameters
particlesParticle catalogue.
alphaAlpha contrast (default is 1.).
Returns
Power spectrum normalisation factor.

Definition at line 56 of file twopt.cpp.

+ Here is the caller graph for this function:

◆ calc_powspec_normalisation_from_mesh()

double trv::calc_powspec_normalisation_from_mesh ( trv::ParticleCatalogue & particles,
trv::ParameterSet & params,
double alpha = 1. )

Calculate mesh-based power spectrum normalisation.

Parameters
particlesParticle catalogue.
paramsParameter set.
alphaAlpha contrast (default is 1.).
Returns
Power spectrum normalisation factor.

Definition at line 98 of file twopt.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ calc_powspec_normalisation_from_meshes() [1/2]

double trv::calc_powspec_normalisation_from_meshes ( trv::ParticleCatalogue & particles_data,
trv::ParticleCatalogue & particles_rand,
trv::ParameterSet & params,
double alpha )

Calculate power spectrum normalisation from mixed meshes.

This normalisation convention is used for paired survey-type catalogues only, where the two meshes come from separate data- and random-source particle catalogues.

See also
pypower documentation.
Parameters
particles_dataData-source particle catalogue.
particles_randRandom-source particle catalogue.
paramsParameter set.
alphaAlpha contrast.
Returns
Power spectrum normalisation factor.

Definition at line 111 of file twopt.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ calc_powspec_normalisation_from_meshes() [2/2]

double trv::calc_powspec_normalisation_from_meshes ( trv::ParticleCatalogue & particles_data,
trv::ParticleCatalogue & particles_rand,
trv::ParameterSet & params,
double alpha,
double padding,
double cellsize,
const std::string & assignment )

Calculate power spectrum normalisation from mixed meshes.

The box size per dimension is internally determined by the particle coordinate extents, with a padding factor applied. The mesh number in each dimension is determined by the box size and the cell size.

Parameters
particles_dataData-source particle catalogue.
particles_randRandom-source particle catalogue.
paramsParameter set.
alphaAlpha contrast.
paddingPadding factor for the box size in each dimension. This overrides the box size set in the parameter set.
cellsizeCell size of the mesh grid in each dimension. This overrides the mesh number set in the parameter set.
assignmentAssignment scheme for particles to mesh. This overrides the assignment scheme set in the parameter set.
Returns
Power spectrum normalisation factor.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 230 of file twopt.cpp.

+ Here is the call graph for this function:

◆ calc_powspec_shotnoise_from_particles()

double trv::calc_powspec_shotnoise_from_particles ( ParticleCatalogue & particles,
double alpha = 1. )

Calculate particle-based power spectrum shot noise level.

Parameters
particlesParticle catalogue.
alphaAlpha contrast (default is 1.).
Returns
Power spectrum normalisation factor.

Definition at line 271 of file twopt.cpp.

◆ calc_ylm_wgtd_shotnoise_amp_for_powspec() [1/2]

std::complex< double > trv::calc_ylm_wgtd_shotnoise_amp_for_powspec ( ParticleCatalogue & particles_data,
ParticleCatalogue & particles_rand,
LineOfSight * los_data,
LineOfSight * los_rand,
double alpha,
int ell,
int m )

Calculate power spectrum shot noise weighted by reduced spherical harmonics.

This calculates the quantity

\[ \bar{N}_{LM}(\vec{x}) = {\sum_i}{\vphantom{\sum}}' y_{LM}^*(\hat{\vec{x}}) w(\vec{x})^2 \,, \]

where if a pair of catalogues are provided,

\[ {\sum_i}{\vphantom{\sum}}' = \sum_{i \in \mathrm{data}} + \alpha^2 \sum_{i \in \mathrm{rand}} \,, \]

and otherwise

\[ {\sum_i}{\vphantom{\sum}}' = \alpha^2 \sum_{i \in \mathrm{data\ or\ rand}} \,. \]

Parameters
particles_data(Data-source) particle catalogue.
particles_rand(Random-source) particle catalogue.
los_data(Data-source) particle lines of sight.
los_rand(Random-source) particle lines of sight.
alphaAlpha contrast.
ellDegree of the spherical harmonic.
mOrder of the spherical harmonic.
Returns
Weighted shot noise for power spectrum.

Definition at line 298 of file twopt.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ calc_ylm_wgtd_shotnoise_amp_for_powspec() [2/2]

std::complex< double > trv::calc_ylm_wgtd_shotnoise_amp_for_powspec ( ParticleCatalogue & particles,
LineOfSight * los,
double alpha,
int ell,
int m )

Calculate power spectrum shot noise weighted by reduced spherical harmonics.

Parameters
particlesParticle catalogue.
losParticle lines of sight.
alphaAlpha contrast.
ellDegree of the spherical harmonic.
mOrder of the spherical harmonic.
Returns
Weighted power spectrum shot noise.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 352 of file twopt.cpp.

+ Here is the call graph for this function:

◆ compute_powspec()

trv::PowspecMeasurements trv::compute_powspec ( ParticleCatalogue & catalogue_data,
ParticleCatalogue & catalogue_rand,
LineOfSight * los_data,
LineOfSight * los_rand,
trv::ParameterSet & params,
trv::Binning & kbinning,
double norm_factor )

Compute power spectrum from paired survey-type catalogues.

Parameters
catalogue_data(Data-source) particle catalogue.
catalogue_rand(Random-source) particle catalogue.
los_data(Data-source) particle lines of sight.
los_rand(Random-source) particle lines of sight.
paramsParameter set.
kbinningWavenumber binning.
norm_factorNormalisation factor.
Returns
Power spectrum measurements.

Definition at line 388 of file twopt.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compute_corrfunc()

trv::TwoPCFMeasurements trv::compute_corrfunc ( ParticleCatalogue & catalogue_data,
ParticleCatalogue & catalogue_rand,
LineOfSight * los_data,
LineOfSight * los_rand,
trv::ParameterSet & params,
trv::Binning & rbinning,
double norm_factor )

Compute two-point correlation function from paired survey-type catalogues.

Parameters
catalogue_data(Data-source) particle catalogue.
catalogue_rand(Random-source) particle catalogue.
los_data(Data-source) particle lines of sight.
los_rand(Random-source) particle lines of sight.
paramsParameter set.
rbinningSeparation binning.
norm_factorNormalisation factor.
Returns
Two-point correlation function measurements.

Definition at line 498 of file twopt.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compute_powspec_in_gpp_box()

trv::PowspecMeasurements trv::compute_powspec_in_gpp_box ( ParticleCatalogue & catalogue_data,
trv::ParameterSet & params,
trv::Binning kbinning,
double norm_factor )

Compute power spectrum in a periodic box in the global plane-parallel approximation.

Parameters
catalogue_data(Data-source) particle catalogue.
paramsParameter set.
kbinningWavenumber binning.
norm_factorNormalisation factor.
Returns
Power spectrum measurements.

Definition at line 609 of file twopt.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compute_corrfunc_in_gpp_box()

trv::TwoPCFMeasurements trv::compute_corrfunc_in_gpp_box ( ParticleCatalogue & catalogue_data,
trv::ParameterSet & params,
trv::Binning & rbinning,
double norm_factor )

Compute two-point correlation function in a periodic box in the global plane-parallel approximation.

Parameters
catalogue_data(Data-source) particle catalogue.
paramsParameter set.
rbinningSeparation binning.
norm_factorNormalisation factor.
Returns
Two-point correlation function measurements.

Definition at line 703 of file twopt.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compute_corrfunc_window()

trv::TwoPCFWindowMeasurements trv::compute_corrfunc_window ( trv::ParticleCatalogue & catalogue_rand,
trv::LineOfSight * los_rand,
trv::ParameterSet & params,
trv::Binning rbinning,
double alpha,
double norm_factor )

Compute two-point correlation function window from a random catalogue and optionally save the results.

Parameters
catalogue_rand(Random-source) particle catalogue.
los_rand(Random-source) particle lines of sight.
paramsParameter set.
rbinningSeparation binning.
alphaAlpha contrast.
norm_factorNormalisation factor.
Returns
Two-point correlation function window measurements.

Definition at line 795 of file twopt.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: