pybird.fftlog module

pybird.fftlog.MPC(l, pn)[source]

matrix for spherical bessel transform from power spectrum to correlation function

pybird.fftlog.CoefWindow(N, window=1, left=True, right=True)[source]

FFTLog auxiliary function: window sending the FFT coefficients to 0 at the edges. Adapted from fast-pt

class pybird.fftlog.FFTLog(**kwargs)[source]

Bases: object

A class implementing the FFTLog algorithm.

Nmax

maximum number of points used to discretize the function

Type:

int, optional

xmin

minimum of the function to transform

Type:

float, optional

xmax

maximum of the function to transform

Type:

float, optional

bias

power by which we modify the function as x**bias * f

Type:

float, optional

setx()[source]

Calculates the discrete x points for the transform

setPow()[source]

Calculates the power in front of the function

Coef()[source]

Calculates the single coefficients

sumCoefxPow(xin, f, x, window=1)[source]

Sums over the Coef * Pow reconstructing the input function

setx()[source]
setPow()[source]
Coef(xin, f, extrap='extrap', window=1)[source]
sumCoefxPow(xin, f, x, window=1)[source]