![]() |
COMPASS
5.4.4
End-to-end AO simulation tool using GPU acceleration
|
Public Member Functions | |
| int | set_pyr_method (self, int method) |
| Set the pyramid method for slopes computation. More... | |
| int | set_pyr_thresh (self, float thresh) |
| Set the pyramid threshold value. More... | |
Public Member Functions inherited from sutraWrap.Centroider_FF | |
| 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.float32] 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.float32] img, int n, int location=-1) |
| int | load_img (self, carmaWrap.obj_float 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 | |
| pyr_method = property | |
| Method used for pyramid slopes compuation. More... | |
Properties inherited from sutraWrap.Centroider_FF | |
| 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 1264 of file sutraWrap.py.
| int sutraWrap.CentroiderPYR_FF.set_pyr_method | ( | self, | |
| int | method | ||
| ) |
Set the pyramid method for slopes computation.
| method | (int) : new centroiding method (0: nosinus global |
| 1 | sinus global |
| 2 | nosinus local |
| 3 | sinus local) favor use of shesha_constant.PyrCentroiderMethod |
Definition at line 1277 of file sutraWrap.py.
| int sutraWrap.CentroiderPYR_FF.set_pyr_thresh | ( | self, | |
| float | thresh | ||
| ) |
Set the pyramid threshold value.
| thresh | (float) : threshold value |
Definition at line 1285 of file sutraWrap.py.
|
static |
Method used for pyramid slopes compuation.
@n type of : str
Definition at line 1292 of file sutraWrap.py.