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

Go to the source code of this file.

Classes

class  SutraCentroider< Tin, Tout >
 this class provides the centroider features to COMPASS More...
 

Functions

template<class Tin >
int calibration (Tin *img_raw, float *img_cal, float *dark, float *flat, int *lutPix, int N, CarmaDevice *device, cudaStream_t stream=0)
 
template<typename T >
int convert_centro (T *d_odata, T *d_idata, float offset, float scale, int N, CarmaDevice *device)
 
int fill_validMask (int size, int npix, int blocks, int *d_validMask, int *validx, int *validy, CarmaDevice *device)
 

Function Documentation

◆ calibration()

template<class Tin >
int calibration ( Tin *  img_raw,
float *  img_cal,
float *  dark,
float *  flat,
int *  lutPix,
int  N,
CarmaDevice device,
cudaStream_t  stream = 0 
)

◆ convert_centro()

template<typename T >
int convert_centro ( T *  d_odata,
T *  d_idata,
float  offset,
float  scale,
int  N,
CarmaDevice device 
)

◆ fill_validMask()

int fill_validMask ( int  size,
int  npix,
int  blocks,
int *  d_validMask,
int *  validx,
int *  validy,
CarmaDevice device 
)