COMPASS  5.4.4
End-to-end AO simulation tool using GPU acceleration
sutra_centroider_corr.h File Reference
#include <sutra_centroider.h>
Include dependency graph for sutra_centroider_corr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SutraCentroiderCorr< Tin, T >
 this class provides the centroider_corr features to COMPASS More...
 

Functions

template<class T >
void subap_sortmaxi (int threads, int blocks, T *d_idata, int *values, int nmax, int offx, int offy, int npix, int Npix)
 
template<class T >
void subap_pinterp (int threads, int blocks, T *d_idata, int *values, T *d_centroids, T *d_matinterp, int sizex, int sizey, int nvalid, int Npix, float scale, float offset)
 
template<class Tcu , class T >
int fillcorr (Tcu *d_out, T *d_in, int npix_in, int npix_out, int N, int nvalid, CarmaDevice *device)
 
template<class T >
int correl (T *d_odata, T *d_idata, int N, CarmaDevice *device)
 
template<class Tcu , class T >
int roll2real (T *d_odata, Tcu *d_idata, int n, int Npix, int N, CarmaDevice *device)
 
template<class T >
int corr_norm (T *d_odata, T *d_idata, int Npix, int N, CarmaDevice *device)
 

Function Documentation

◆ corr_norm()

template<class T >
int corr_norm ( T *  d_odata,
T *  d_idata,
int  Npix,
int  N,
CarmaDevice device 
)

◆ correl()

template<class T >
int correl ( T *  d_odata,
T *  d_idata,
int  N,
CarmaDevice device 
)

◆ fillcorr()

template<class Tcu , class T >
int fillcorr ( Tcu *  d_out,
T *  d_in,
int  npix_in,
int  npix_out,
int  N,
int  nvalid,
CarmaDevice device 
)

◆ roll2real()

template<class Tcu , class T >
int roll2real ( T *  d_odata,
Tcu *  d_idata,
int  n,
int  Npix,
int  N,
CarmaDevice device 
)

◆ subap_pinterp()

template<class T >
void subap_pinterp ( int  threads,
int  blocks,
T *  d_idata,
int *  values,
T *  d_centroids,
T *  d_matinterp,
int  sizex,
int  sizey,
int  nvalid,
int  Npix,
float  scale,
float  offset 
)

◆ subap_sortmaxi()

template<class T >
void subap_sortmaxi ( int  threads,
int  blocks,
T *  d_idata,
int *  values,
int  nmax,
int  offx,
int  offy,
int  npix,
int  Npix 
)