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

Three-point statistic computations. More...

#include <fftw3.h>
#include <cmath>
#include <complex>
#include <cstdio>
#include "monitor.hpp"
#include "parameters.hpp"
#include "maths.hpp"
#include "particles.hpp"
#include "dataobjs.hpp"
#include "field.hpp"
#include "twopt.hpp"
+ Include dependency graph for threept.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  trv::SphericalOrderTriplet
 Spherical order triplet \( (m_1, m_2, M) \). More...
 

Namespaces

namespace  trv
 

Functions

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.
 
void trv::validate_multipole_coupling (trv::ParameterSet &params)
 Validate three-point correlator multipoles are non-vanishing.
 
double trv::calc_bispec_normalisation_from_particles (ParticleCatalogue &particles, double alpha=1.)
 Calculate particle-based bispectrum normalisation.
 
double trv::calc_bispec_normalisation_from_mesh (ParticleCatalogue &particles, trv::ParameterSet &params, double alpha=1.)
 Calculate mesh-based bispectrum normalisation.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 

Detailed Description

Three-point statistic computations.

Authors
Mike S Wang (https://github.com/MikeSWang), Naonori S Sugiyama (https://github.com/naonori)

This module provides the computation of three-point statistics including:

  • bispectrum normalisation (mesh- or particle-based);
  • reduced-spherical-harmonic-weighted bispectrum shot noise;
  • bispectrum and three-point correlation function for paired survey-type catalogues;
  • bispectrum and three-point correlation function for periodic-box simulation-type catalogues in the global plane-parallel approximation.

Definition in file threept.hpp.