18 #ifndef _SUTRA_CENTROIDER_COG_H_
19 #define _SUTRA_CENTROIDER_COG_H_
23 template <
class Tin,
class T>
34 int npix,
int ntot, cudaStream_t stream=0);
35 int get_cog(
float *intensities, T *slopes,
bool noise);
40 void get_centroids(
int size,
int threads,
int blocks,
int n,
float *d_idata,
41 T *d_odata, T *ref,
int *validx,
int *validy,
42 float *intensities,
float scale,
float offset,
48 T *d_idata, T *d_odata, T *alpha,
float scale,
this class provides the context in which CarmaObj are created
this class provides the stream features to CarmaObj
this class provides the centroider_cog features to COMPASS
int get_cog(float *intensities, T *slopes, bool noise)
SutraCentroiderCog(const SutraCentroiderCog ¢roider)
int get_cog(float *cube, float *intensities, T *centroids, int nvalid, int npix, int ntot, cudaStream_t stream=0)
SutraCentroiderCog(CarmaContext *context, SutraWfs *wfs, long nvalid, float offset, float scale, bool filter_TT, int device)
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_async(int threads, int blocks, int n, CarmaStreams *streams, T *d_idata, T *d_odata, T *alpha, float scale, float offset)
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)