romanimpreprocess.L1_to_L2.GalPoisson.find_tilnus

Functions

raw_weights(N_beta, a_beta)

Generates the matrix L to transform raw frames into MA frames.

get_tilde_nus(N_beta, a_beta, W)

Calculates the tilde{nu}_pl's used in computing the

Module Contents

raw_weights(N_beta, a_beta)[source]

Generates the matrix L to transform raw frames into MA frames.

Used in this code to calculate the “compressed” moments of the MA frames using the moments of the raw frames.

Inputs: N_beta – a 1D numpy vector describing how many frames we will sum over to make an MA frame a_beta – a 1D numpy vector indicating which frame index we start our sums

Output: (L) raw weights of size (M,N)

get_tilde_nus(N_beta, a_beta, W)[source]

Calculates the tilde{nu}_pl’s used in computing the 2nd, 3rd, and 4th moments of our xi distribution.

Inputs: N_beta – a 1D numpy vector describing how many frames we will sum over to make an MA frame a_beta – a 1D numpy vector detailing which frame index we start our sums