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

Go to the source code of this file.

Classes

class  SutraCentroiderWcog< Tin, T >
 this class provides the centroider_wcog features to COMPASS More...
 

Functions

template<class T >
void get_centroids (int size, int threads, int blocks, int n, float *d_idata, T *d_odata, T *ref, int *validx, int *validy, float *intensities, float *d_weights, float scale, float offset, CarmaDevice *device)
 
template<class T >
int fill_weights (T *d_out, T *d_in, int npix, int N, CarmaDevice *device)
 

Function Documentation

◆ fill_weights()

template<class T >
int fill_weights ( T *  d_out,
T *  d_in,
int  npix,
int  N,
CarmaDevice device 
)

◆ get_centroids()

template<class T >
void get_centroids ( int  size,
int  threads,
int  blocks,
int  n,
float *  d_idata,
T *  d_odata,
T *  ref,
int *  validx,
int *  validy,
float *  intensities,
float *  d_weights,
float  scale,
float  offset,
CarmaDevice device 
)