18 #ifndef _SUTRA_CENTROIDER_TCOG_H_
19 #define _SUTRA_CENTROIDER_TCOG_H_
23 template <
class Tin,
class T>
39 int npix,
int ntot, cudaStream_t stream=0);
40 int get_cog(
float *intensities, T *slopes,
bool noise);
45 void get_centroids(
int size,
int threads,
int blocks,
int n,
float *d_idata,
46 T *d_odata, T *ref,
int *validx,
int *validy,
47 float *intensities,
float threshold,
float scale,
this class provides the context in which CarmaObj are created
this class provides the centroider features to COMPASS
this class provides the centroider_tcog features to COMPASS
SutraCentroiderTcog(const SutraCentroiderTcog ¢roider)
int get_cog(float *cube, float *intensities, T *centroids, int nvalid, int npix, int ntot, cudaStream_t stream=0)
SutraCentroiderTcog(CarmaContext *context, SutraWfs *wfs, long nvalid, float offset, float scale, bool filter_TT, int device)
int get_cog(float *intensities, T *slopes, bool noise)
int set_threshold(float threshold)
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 threshold, float scale, float offset, SlopeOrder slope_order, CarmaDevice *device)