COMPASS  5.4.4
End-to-end AO simulation tool using GPU acceleration
sutraWrap.CentroiderBPCOG_UF Class Reference
Inheritance diagram for sutraWrap.CentroiderBPCOG_UF:
Collaboration diagram for sutraWrap.CentroiderBPCOG_UF:

Public Member Functions

int set_nmax (self, int nmax)
 Set the number of brightest pixels considered for COG computation. More...
 
- Public Member Functions inherited from sutraWrap.Centroider_UF
int calibrate_img (self)
 Performs the raw WFS frame calibration. More...
 
int calibrate_img_validPix (self)
 Performs the raw WFS frame calibration only on useful pixels. More...
 
int get_cog (self)
 Computes centroids and stores it in d_slopes of the WFS. More...
 
int init_calib (self, int n, int m)
 Initialize data used for calibration. More...
 
int init_img_raw (self, int n, int m)
 Initialize array to store raw WFS image in RTC standalone mode. More...
 
int load_img (self, numpy.ndarray[numpy.uint16] img, int m, int n, int location)
 Load an image in a RTC standalone (host to device) More...
 
int load_img (self, numpy.ndarray[numpy.uint16] img, int n, int location=-1)
 
int load_img (self, carmaWrap.obj_uint16 img)
 
int load_validpos (self, numpy.ndarray[numpy.int32] validx, numpy.ndarray[numpy.int32] validy, int N)
 Load the validx and validy arrays. More...
 
int set_centroids_ref (self, numpy.ndarray[numpy.float32] refslopes)
 Set the references slopes. More...
 
int set_dark (self, numpy.ndarray[numpy.float32] dark, int n)
 Set the dark frame for calibration. More...
 
int set_flat (self, numpy.ndarray[numpy.float32] flat, int n)
 Set the flat frame for calibration. More...
 
int set_lutPix (self, numpy.ndarray[numpy.int32] lutPix, int n)
 Set the lookup Table Pixel vector for calibration. More...
 
int set_npix (self, int npix)
 Set the number of pixels per subap for a RTC standalone. More...
 
int set_nxsub (self, int nxsub)
 Set the number of ssp across the pupil diameter for a RTC standalone. More...
 
int set_offset (self, float offset)
 Set the controider offset [pixels]. More...
 
int set_scale (self, float scale)
 Set the controider scale factor. More...
 

Properties

 d_bpind = property
 Brightest pixels indices. More...
 
 d_bpix = property
 Brightest pixels. More...
 
 nmax = property
 Number of brightest pixels. More...
 
- Properties inherited from sutraWrap.Centroider_UF
 context = property
 GPU context. More...
 
 d_TT_slopes = property
 Tip/tilt slopes removed after filtering. More...
 
 d_bincube = property
 Bincube of the WFS image. More...
 
 d_centroids_ref = property
 Reference slopes vector. More...
 
 d_dark = property
 Dark frame for calibration. More...
 
 d_flat = property
 Flat frame for calibration. More...
 
 d_img = property
 Calibrated WFS image. More...
 
 d_img_raw = property
 Raw WFS image. More...
 
 d_intensities = property
 intensities of the WFS image More...
 
 d_lutPix = property
 Lookup Table of pixels for calibration. More...
 
 d_ref_Tilt = property
 Tilt mode reference for filtering. More...
 
 d_ref_Tip = property
 Tip mode reference for filtering. More...
 
 d_validMask = property
 Flat frame for calibration. More...
 
 d_validx = property
 X positions of the valid ssp. More...
 
 d_validy = property
 Y positions of the valid ssp. More...
 
 device = property
 GPU device index. More...
 
 filter_TT = property
 Tip/tilt filtering flag. More...
 
 npix = property
 Number of pixels along a side of WFS subap. More...
 
 nslopes = property
 Number of slopes. More...
 
 nvalid = property
 Number of valid ssp of the WFS. More...
 
 nxsub = property
 Number of ssp across the pupil diameter. More...
 
 offset = property
 Offset for centroiding computation. More...
 
 scale = property
 Scale factor to get slopes in arcsec. More...
 
 type = property
 Centroider type. More...
 
 wfs = property
 SutraWfs handled by this centroider. More...
 

Detailed Description

Definition at line 1491 of file sutraWrap.py.

Member Function Documentation

◆ set_nmax()

int sutraWrap.CentroiderBPCOG_UF.set_nmax (   self,
int  nmax 
)

Set the number of brightest pixels considered for COG computation.

Parameters
nmax(float) : nmax value to set

Definition at line 1499 of file sutraWrap.py.

Property Documentation

◆ d_bpind

sutraWrap.CentroiderBPCOG_UF.d_bpind = property
static

Brightest pixels indices.

   @n type of :  carmaWrap.obj_uint

Definition at line 1506 of file sutraWrap.py.

◆ d_bpix

sutraWrap.CentroiderBPCOG_UF.d_bpix = property
static

Brightest pixels.

   @n type of :  carmaWrap.obj_float

Definition at line 1515 of file sutraWrap.py.

◆ nmax

sutraWrap.CentroiderBPCOG_UF.nmax = property
static

Number of brightest pixels.

   @n type of :  int

Definition at line 1524 of file sutraWrap.py.


The documentation for this class was generated from the following file: