17 #ifndef _SUTRA_CENTROIDER_BPCOG_H_
18 #define _SUTRA_CENTROIDER_BPCOG_H_
22 template <
class Tin,
class T>
42 int npix,
int ntot, cudaStream_t stream=0);
43 int get_cog(
float *intensities, T *slopes,
bool noise);
47 void get_centroids(
int size,
int threads,
int blocks,
int n,
float *d_idata,
48 T *d_odata, T *ref,
int *validx,
int *validy,
49 float *intensities,
int nbpix,
float scale,
float offset,
54 void subap_sortmax(
int threads,
int blocks, T *d_idata, T *d_odata,
55 unsigned int *values,
int nmax,
CarmaDevice *device);
57 void subap_bpcentro(
int threads,
int blocks,
int npix, T *d_idata,
58 unsigned int *values, T *d_odata,
float scale,
this class provides the context in which CarmaObj are created
CarmaObj< uint > * d_bpind
SutraCentroiderBpcog(CarmaContext *context, SutraWfs *wfs, long nvalid, float offset, float scale, bool filter_TT, int device, int nmax)
int get_cog(float *intensities, T *slopes, bool noise)
SutraCentroiderBpcog(const SutraCentroiderBpcog ¢roider)
int get_cog(float *cube, float *intensities, T *centroids, int nvalid, int npix, int ntot, cudaStream_t stream=0)
this class provides the centroider features to COMPASS
this class provides the wfs features to COMPASS
SlopeOrder slope_order(std::size_t value)
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 scale, float offset, SlopeOrder slope_order, CarmaDevice *device, cudaStream_t stream=0)