MIDAPACK - MIcrowave Data Analysis PACKage  1.1b
Parallel software tools for high performance CMB DA analysis
toeplitz_gappy_seq.dev.c File Reference

Go to the source code of this file.

Functions

int gstmm (double **V, int n, int m, int id0, int l, fftw_complex *T_fft, int lambda, fftw_complex *V_fft, double *V_rfft, fftw_plan plan_f, fftw_plan plan_b, int blocksize, int nfft, int *id0gap, int *lgap, int ngap)
 
int gap_reduce (double **V, int id0, int l, int lambda, int *id0gap, int *lgap, int ngap, int *newl, int id0out)
 
int gap_masking (double **V, int l, int *id0gap, int *lgap, int ngap)
 Reduce the vector and mask the defined gaps. More...
 
int gap_filling (double **V, int l, int *id0gap, int *lgap, int ngap)
 Extend the vector and add zeros on the gaps locations. More...
 
int gap_masking_naive (double **V, int id0, int local_V_size, int m, int nrow, int *id0gap, int *lgap, int ngap)
 

Function Documentation

◆ gstmm()

int gstmm ( double **  V,
int  n,
int  m,
int  id0,
int  l,
fftw_complex *  T_fft,
int  lambda,
fftw_complex *  V_fft,
double *  V_rfft,
fftw_plan  plan_f,
fftw_plan  plan_b,
int  blocksize,
int  nfft,
int *  id0gap,
int *  lgap,
int  ngap 
)

Definition at line 7 of file toeplitz_gappy_seq.dev.c.

◆ gap_reduce()

int gap_reduce ( double **  V,
int  id0,
int  l,
int  lambda,
int *  id0gap,
int *  lgap,
int  ngap,
int *  newl,
int  id0out 
)

...convert the data vector structure into a matrix structure optimized for nfft

....Copy the data vector structure into an equivalent matrix with nfft column. Thus, the obtained matrix is optimize for the nfft multithreading algorithm use. The middle part is a direct copy of the data vector and we copy on the edges of each column the lambda terms needed to fullfill the correlation of theses data.

Definition at line 162 of file toeplitz_gappy_seq.dev.c.

◆ gap_masking()

int gap_masking ( double **  V,
int  l,
int *  id0gap,
int *  lgap,
int  ngap 
)

Reduce the vector and mask the defined gaps.

Parameters
Vinput/output vector
llength of the vector
id0gapgap first index
lgapgap length
ngapnumber of gaps

Definition at line 252 of file toeplitz_gappy_seq.dev.c.

◆ gap_filling()

int gap_filling ( double **  V,
int  l,
int *  id0gap,
int *  lgap,
int  ngap 
)

Extend the vector and add zeros on the gaps locations.

Parameters
Vinput/output vector
llength of the extend vector
id0gapgap first index
lgapgap length
ngapnumber of gaps

Definition at line 290 of file toeplitz_gappy_seq.dev.c.

◆ gap_masking_naive()

int gap_masking_naive ( double **  V,
int  id0,
int  local_V_size,
int  m,
int  nrow,
int *  id0gap,
int *  lgap,
int  ngap 
)

Definition at line 324 of file toeplitz_gappy_seq.dev.c.