Documented computation of Poisson shot noise and tree-level line power spectrum in real and redshift-space. More...
#include "header.h"
Functions | |
| double | PS_tot_interloper (struct Cosmology *Cx, double k, double mu, double z_s, double z_inter, size_t line_id) |
| Compute the 3D power spectrum of interloper line power spectrum in unit of micro K^2 Mpc^3. More... | |
| double | PS_line_real (struct Cosmology *Cx, double k, double z, size_t line_id) |
| Compute the real-space 3D power spectrum of emission lines in unit of micro K^2 Mpc^3. More... | |
| double | PS_line_RSD (struct Cosmology *Cx, struct Cosmology *Cx_ref, double k, double mu, double z, size_t line_id) |
| Compute the redshift-space 3D power spectrum of emission lines in unit of micro K^2 Mpc^3 as a function of wavenumber and angle w.r.t. More... | |
| int | ps_line_multipoles_integrand (unsigned ndim, const double *x, void *p, unsigned fdim, double *fvalue) |
| The integrand function passed to hcubature integrator to compute the line power spectrum multipoles. More... | |
| double | ps_line_multipoles (struct Cosmology *Cx, struct Cosmology *Cx_ref, double k, double z, size_t line_id, int ell) |
| Compute the multipole moments of redshift-space power spectrum of emission lines in unit of micro K^2 Mpc^3, integrating over the angle w.r.t LOS, weighted by. More... | |
| double | PS_shot (struct Cosmology *Cx, double z, size_t line_id) |
| Compute the Poisson shot noise in unit of micro K^2 Mpc^3. More... | |
Documented computation of Poisson shot noise and tree-level line power spectrum in real and redshift-space.
Azadeh Moradinezhad Dizgah, November 4th 2021
NOTE TODO: Add the 1loop redshift-space power spectrum of the line. This requires implementing FFTLog, still in progress For the moment we stick to the tree-level expression of line power spectrum in redshift-space.
In summary, the following functions can be called from other modules:
| double ps_line_multipoles | ( | struct Cosmology * | Cx, |
| struct Cosmology * | Cx_ref, | ||
| double | k, | ||
| double | z, | ||
| size_t | line_id, | ||
| int | ell | ||
| ) |
Compute the multipole moments of redshift-space power spectrum of emission lines in unit of micro K^2 Mpc^3, integrating over the angle w.r.t LOS, weighted by.
| Cx | Input: Cosmology structure |
| Cx_ref | Input: Reference cosmology structure, needed for AP effect |
| k | Input: wavenumber in unit of 1/Mpc. |
| z | Input: redshift |
| line_id | Inpute: id of the line to be considered. |
| ell | Inpute: the multipole |

| int ps_line_multipoles_integrand | ( | unsigned | ndim, |
| const double * | x, | ||
| void * | p, | ||
| unsigned | fdim, | ||
| double * | fvalue | ||
| ) |
The integrand function passed to hcubature integrator to compute the line power spectrum multipoles.
| ndim | Input: Dimensionality of the domain of integration |
| x | Input: integration variable |
| p | Input: integration parmaeters |
| fdim | Input: Dimensionality of the integrand function |
| fvalue | Input: Array of values of the integrand of dimension fdim return the error status |


| double PS_line_real | ( | struct Cosmology * | Cx, |
| double | k, | ||
| double | z, | ||
| size_t | line_id | ||
| ) |
Compute the real-space 3D power spectrum of emission lines in unit of micro K^2 Mpc^3.
| Cx | Input: Cosmology structure |
| k | Input: wavenumber in unit of 1/Mpc. |
| z | Input: redshift |
| line_id | Inpute: id of the line to be considered. |

| double PS_line_RSD | ( | struct Cosmology * | Cx, |
| struct Cosmology * | Cx_ref, | ||
| double | k, | ||
| double | mu, | ||
| double | z, | ||
| size_t | line_id | ||
| ) |
Compute the redshift-space 3D power spectrum of emission lines in unit of micro K^2 Mpc^3 as a function of wavenumber and angle w.r.t.
LOS
| Cx | Input: Cosmology structure |
| Cx_ref | Input: Reference cosmology structure, needed for AP effect |
| k | Input: wavenumber in unit of 1/Mpc. |
| mu | Inpute: angle w.r.t LOS |
| z | Input: redshift |
| line_id | Inpute: id of the line to be considered. |
to plot the power spectrum in units of micro K^2 Mpc^3


| double PS_shot | ( | struct Cosmology * | Cx, |
| double | z, | ||
| size_t | line_id | ||
| ) |
Compute the Poisson shot noise in unit of micro K^2 Mpc^3.
| Cx | Input: Cosmology structure |
| z | Input: redshift |
| line_id | Inpute: id of the line to be considered. |
Boltzmann constant in unit of erg K^-1
in unit of erg/s


| double PS_tot_interloper | ( | struct Cosmology * | Cx, |
| double | k, | ||
| double | mu, | ||
| double | z_s, | ||
| double | z_inter, | ||
| size_t | line_id | ||
| ) |
Compute the 3D power spectrum of interloper line power spectrum in unit of micro K^2 Mpc^3.
| Cx | Input: Cosmology structure |
| k | Input: wavenumber in unit of 1/Mpc. |
| mu | Input: cos of the angle w.r.t. LOS |
| z_s | Input: redshift of the signal line |
| z_inter | Input: redshift of the interloper line |
| line_id | Inpute: id of the line to be considered. |
to plot the power spectrum in units of micro K^2 Mpc^3
