this class provides the centroider features to COMPASS
More...
#include <sutra_centroider.h>
|
virtual | ~SutraCentroider () |
|
int | set_scale (float scale) |
|
int | set_offset (float offset) |
|
int | set_dark (float *dark, int n) |
|
int | set_flat (float *flat, int n) |
|
int | set_lutPix (int *lutPix, int n) |
|
int | init_calib (int n, int m) |
|
int | init_roi (int N) |
|
int | set_centroids_ref (float *centroids_ref) |
|
int | calibrate_img_validPix () |
|
int | calibrate_img_validPix (cudaStream_t stream) |
|
int | calibrate_img () |
|
int | calibrate_img (cudaStream_t stream) |
|
int | load_validpos (int *ivalid, int *jvalid, int N) |
|
int | set_npix (int npix) |
|
int | set_nxsub (int nxsub) |
|
int | load_img (Tin *img, int n) |
|
int | load_img (Tin *img, int n, int location) |
|
int | load_img (Tin *img, int m, int n, int location) |
|
int | load_img (CarmaObj< Tin > *img) |
|
int | init_img_raw (int m, int n) |
|
int | get_validMask () |
|
bool | is_type (string typec) |
|
int | init_TT_filter () |
|
int | apply_TT_filter (Tout *centroids) |
|
virtual string | get_type ()=0 |
|
virtual int | get_cog (float *img, float *intensities, Tout *centroids, int nvalid, int npix, int ntot, cudaStream_t stream=0)=0 |
|
virtual int | get_cog (float *intensities, Tout *slopes, bool noise)=0 |
|
virtual int | get_cog ()=0 |
|
template<class Tin, class Tout>
class SutraCentroider< Tin, Tout >
this class provides the centroider features to COMPASS
- Author
- COMPASS Team https://github.com/ANR-COMPASS
- Version
- 5.4.4
- Date
- 2022/01/24
Definition at line 34 of file sutra_centroider.h.
◆ SutraCentroider()
template<class Tin , class Tout >
◆ ~SutraCentroider()
template<class Tin , class Tout >
◆ apply_TT_filter()
template<class Tin , class Tout >
◆ calibrate_img() [1/2]
template<class Tin , class Tout >
◆ calibrate_img() [2/2]
template<class Tin , class Tout >
◆ calibrate_img_validPix() [1/2]
template<class Tin , class Tout >
◆ calibrate_img_validPix() [2/2]
template<class Tin , class Tout >
int SutraCentroider< Tin, Tout >::calibrate_img_validPix |
( |
cudaStream_t |
stream | ) |
|
◆ get_cog() [1/3]
template<class Tin , class Tout >
Implemented in SutraCentroiderWcog< Tin, T >, SutraCentroiderTcog< Tin, T >, SutraCentroiderPyr< Tin, T >, SutraCentroiderMaskedPix< Tin, T >, SutraCentroiderCorr< Tin, T >, SutraCentroiderCog< Tin, T >, and SutraCentroiderBpcog< Tin, T >.
◆ get_cog() [2/3]
template<class Tin , class Tout >
virtual int SutraCentroider< Tin, Tout >::get_cog |
( |
float * |
img, |
|
|
float * |
intensities, |
|
|
Tout * |
centroids, |
|
|
int |
nvalid, |
|
|
int |
npix, |
|
|
int |
ntot, |
|
|
cudaStream_t |
stream = 0 |
|
) |
| |
|
pure virtual |
Implemented in SutraCentroiderMaskedPix< Tin, T >, SutraCentroiderWcog< Tin, T >, SutraCentroiderTcog< Tin, T >, SutraCentroiderPyr< Tin, T >, SutraCentroiderCorr< Tin, T >, SutraCentroiderCog< Tin, T >, and SutraCentroiderBpcog< Tin, T >.
◆ get_cog() [3/3]
template<class Tin , class Tout >
virtual int SutraCentroider< Tin, Tout >::get_cog |
( |
float * |
intensities, |
|
|
Tout * |
slopes, |
|
|
bool |
noise |
|
) |
| |
|
pure virtual |
Implemented in SutraCentroiderWcog< Tin, T >, SutraCentroiderTcog< Tin, T >, SutraCentroiderPyr< Tin, T >, SutraCentroiderMaskedPix< Tin, T >, SutraCentroiderCorr< Tin, T >, SutraCentroiderCog< Tin, T >, and SutraCentroiderBpcog< Tin, T >.
◆ get_type()
template<class Tin , class Tout >
Implemented in SutraCentroiderWcog< Tin, T >, SutraCentroiderTcog< Tin, T >, SutraCentroiderPyr< Tin, T >, SutraCentroiderMaskedPix< Tin, T >, SutraCentroiderCorr< Tin, T >, SutraCentroiderCog< Tin, T >, and SutraCentroiderBpcog< Tin, T >.
◆ get_validMask()
template<class Tin , class Tout >
◆ init_calib()
template<class Tin , class Tout >
◆ init_img_raw()
template<class Tin , class Tout >
◆ init_roi()
template<class Tin , class Tout >
◆ init_TT_filter()
template<class Tin , class Tout >
◆ is_type()
template<class Tin , class Tout >
◆ load_img() [1/4]
template<class Tin , class Tout >
◆ load_img() [2/4]
template<class Tin , class Tout >
int SutraCentroider< Tin, Tout >::load_img |
( |
Tin * |
img, |
|
|
int |
m, |
|
|
int |
n, |
|
|
int |
location |
|
) |
| |
◆ load_img() [3/4]
template<class Tin , class Tout >
◆ load_img() [4/4]
template<class Tin , class Tout >
int SutraCentroider< Tin, Tout >::load_img |
( |
Tin * |
img, |
|
|
int |
n, |
|
|
int |
location |
|
) |
| |
◆ load_validpos()
template<class Tin , class Tout >
int SutraCentroider< Tin, Tout >::load_validpos |
( |
int * |
ivalid, |
|
|
int * |
jvalid, |
|
|
int |
N |
|
) |
| |
◆ set_centroids_ref()
template<class Tin , class Tout >
int SutraCentroider< Tin, Tout >::set_centroids_ref |
( |
float * |
centroids_ref | ) |
|
◆ set_dark()
template<class Tin , class Tout >
◆ set_flat()
template<class Tin , class Tout >
◆ set_lutPix()
template<class Tin , class Tout >
◆ set_npix()
template<class Tin , class Tout >
◆ set_nxsub()
template<class Tin , class Tout >
◆ set_offset()
template<class Tin , class Tout >
◆ set_scale()
template<class Tin , class Tout >
◆ current_context
template<class Tin , class Tout >
◆ d_bincube
template<class Tin , class Tout >
◆ d_centro_filtered
template<class Tin , class Tout >
◆ d_centroids_ref
template<class Tin , class Tout >
◆ d_dark
template<class Tin , class Tout >
◆ d_flat
template<class Tin , class Tout >
◆ d_img
template<class Tin , class Tout >
◆ d_img_raw
template<class Tin , class Tout >
◆ d_intensities
template<class Tin , class Tout >
◆ d_lutPix
template<class Tin , class Tout >
◆ d_ref_Tilt
template<class Tin , class Tout >
◆ d_ref_Tip
template<class Tin , class Tout >
◆ d_TT_slopes
template<class Tin , class Tout >
◆ d_validMask
template<class Tin , class Tout >
◆ d_validx
template<class Tin , class Tout >
◆ d_validy
template<class Tin , class Tout >
◆ device
template<class Tin , class Tout >
◆ filter_TT
template<class Tin , class Tout >
◆ npix
template<class Tin , class Tout >
◆ nslopes
template<class Tin , class Tout >
◆ nvalid
template<class Tin , class Tout >
◆ nxsub
template<class Tin , class Tout >
◆ offset
template<class Tin , class Tout >
◆ scale
template<class Tin , class Tout >
◆ slope_order
template<class Tin , class Tout >
◆ wfs
template<class Tin , class Tout >
The documentation for this class was generated from the following file: