 |
COMPASS
5.0.0
End-to-end AO simulation tool using GPU acceleration
|
Go to the documentation of this file.
47 #ifndef _SUTRA_CENTROIDER_MASKEDPIX_H_
48 #define _SUTRA_CENTROIDER_MASKEDPIX_H_
54 template <
class Tin,
class T>
69 int get_maskedPix(
float *img,
float *intensities, T *centroids,
int *subindx,
70 int *subindy,
int nvalid,
int ns);
72 int npix,
int ntot, cudaStream_t stream=0);
73 int get_cog(
float *intensities, T *slopes,
bool noise);
80 int *subindy,
int ns,
int nslopes,
CarmaDevice *device);
82 void get_masked_pix(T *centroids, T *ref,
float *img,
int *subindx,
int *subindy,
83 float *psum,
int ns,
int nslopes,
CarmaDevice *device);
91 #endif // _SUTRA_CENTROIDER_MASKEDPIX_H_
int get_maskedPix(float *img, float *intensities, T *centroids, int *subindx, int *subindy, int nvalid, int ns)
int get_cog(float *intensities, T *slopes, bool noise)
void pyr_fill_selected_pix(T *img, int img_sizex, T *pix, int *subindx, int *subindy, int nvalid, CarmaDevice *device)
~SutraCentroiderMaskedPix()
this class provides the wfs features to COMPASS
void pyr_fill_mask(T *mask, int img_sizex, int *subindx, int *subindy, int nvalid, CarmaDevice *device)
void fill_intensities(float *intensities, float *img, int *subindx, int *subindy, int ns, int nslopes, CarmaDevice *device)
void get_masked_pix(T *centroids, T *ref, float *img, int *subindx, int *subindy, float *psum, int ns, int nslopes, CarmaDevice *device)
SutraCentroiderMaskedPix(CarmaContext *context, SutraWfs *wfs, long nvalid, long npupils, float offset, float scale, bool filter_TT, int device)
this class provides the context in which CarmaObj are created
this class provides the centroider features to COMPASS
int get_cog(float *img, float *intensities, T *centroids, int nvalid, int npix, int ntot, cudaStream_t stream=0)
this class provides the centroider_maskedPix features to COMPASS
int fill_selected_pix(CarmaObj< T > *pix)
CarmaObj< T > * d_selected_pix