Function trv::calc_ylm_wgtd_shotnoise_amp_for_bispec(ParticleCatalogue&, ParticleCatalogue&, LineOfSight *, LineOfSight *, double, int, int)#

Function Documentation#

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.

  • alpha – Alpha contrast.

  • ell – Degree of the spherical harmonic.

  • m – Order of the spherical harmonic.

Returns

Weighted shot-noise contribution for bispectrum.