![]() |
COMPASS
5.4.4
End-to-end AO simulation tool using GPU acceleration
|
Public Member Functions | |
| int | init_corr (self, int isizex, int isizey, numpy.ndarray[numpy.float32] interpmat) |
| Initializes corr computation. More... | |
| int | load_corr (self, numpy.ndarray[numpy.float32] corr, numpy.ndarray[numpy.float32] corr_norm, int ndim) |
| Load arrays for correlation 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_corr = property | |
| TODO docstring. More... | |
| d_corrfnct = property | |
| TODO docstring. More... | |
| d_corrmax = property | |
| TODO docstring. More... | |
| d_corrnorm = property | |
| TODO docstring. More... | |
| d_corrspot = property | |
| TODO docstring. More... | |
| d_interpmat = property | |
| TODO docstring. More... | |
| interp_sizex = property | |
| TODO docstring. More... | |
| interp_sizey = property | |
| TODO docstring. More... | |
| npix = property | |
| TODO docstring. 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... | |
Definition at line 1095 of file sutraWrap.py.
| int sutraWrap.CentroiderCORR_UF.init_corr | ( | self, | |
| int | isizex, | ||
| int | isizey, | ||
| numpy.ndarray[numpy.float32] | interpmat | ||
| ) |
Initializes corr computation.
| isizex | (int): TODO: docstring |
| isizey | (int): |
| interpmat | (np.array[ndim=,dtype=np.float32]): |
Definition at line 1107 of file sutraWrap.py.
| int sutraWrap.CentroiderCORR_UF.load_corr | ( | self, | |
| numpy.ndarray[numpy.float32] | corr, | ||
| numpy.ndarray[numpy.float32] | corr_norm, | ||
| int | ndim | ||
| ) |
Load arrays for correlation computation.
| corr | (np.array[ndim=,dtype=np.float32): TODO: docstring |
| corr_norm | (np.array[ndim=,dtype=np.float32): |
| ndim | (int): |
Definition at line 1119 of file sutraWrap.py.
|
static |
|
static |
TODO docstring.
@n type of : carmaWrap.obj_float_complex
Definition at line 1135 of file sutraWrap.py.
|
static |
|
static |
|
static |
TODO docstring.
@n type of : carmaWrap.obj_float_complex
Definition at line 1162 of file sutraWrap.py.
|
static |
|
static |
|
static |
|
static |