![]() |
COMPASS
5.4.4
End-to-end AO simulation tool using GPU acceleration
|
Public Member Functions | |
int | init_cured (self, int nxsub, numpy.ndarray[numpy.int32] isvalid, int ndivs, int tt) |
Initialize CURED. More... | |
![]() | |
int | add_perturb (self) |
Add the perturbation voltage to the command. More... | |
int | add_perturb_voltage (self, str name, numpy.ndarray[numpy.float32] perturb, int N) |
Add a new perturbation voltage buffer. More... | |
int | clip_commands (self) |
Clip the commands between volt_min and volt_max (values set in the controller) More... | |
int | command_delay (self) |
Delay the command. More... | |
int | comp_voltage (self) |
Computes the final voltage to send to the DM. More... | |
int | disable_perturb_voltage (self, str name) |
Disable a perturbation voltage buffer. More... | |
int | enable_perturb_voltage (self, str name) |
Enable a perturbation voltage buffer. More... | |
int | remove_perturb_voltage (self, str name) |
Remove a perturbation voltage buffer. More... | |
int | reset_coms (self) |
Reset the commands circular buffer. More... | |
int | reset_perturb_voltage (self) |
Remove all perturbation voltage buffers. More... | |
int | set_com (self, numpy.ndarray[numpy.float32] com, int nElem) |
Set the command vector of the controller. More... | |
None | set_comRange (self, float volt_min, float volt_max) |
Set the volt_min and volt_max value for command clipping. More... | |
int | set_delay (self, float delay) |
Set the delay. More... | |
int | set_gain (self, float gain) |
Set the gain. More... | |
int | set_open_loop (self, int status, bool rst=True) |
Open (1) or close (0) the loop. More... | |
int | set_perturb_voltage (self, str name, numpy.ndarray[numpy.float32] perturb, int N) |
Set an existing perturbation voltage buffer. More... | |
int | set_val_max (self, float val_max) |
Set the val_max value for command conversion. More... | |
int | set_volt_max (self, float volt_max) |
Set the volt_max value for command clipping. More... | |
Properties | |
d_cenbuff = property | |
Centroids circular buffer. More... | |
d_err = property | |
Increment error. More... | |
d_imat = property | |
Interaction matrix. More... | |
h_centroids = property | |
Centroids. More... | |
h_err = property | |
Increment error. More... | |
ndivs = property | |
Number of subdivision levels. More... | |
tt_flag = property | |
Flag to separate TT. More... | |
![]() | |
centro_idx = property | |
Indices of the handled centroiders. More... | |
comRange = property | |
type of : typing.Tuple[float, float] More... | |
context = property | |
GPU context. More... | |
d_centroids = property | |
Slopes vector. More... | |
d_circularComs0 = property | |
Oldest command vector in the circular buffer. More... | |
d_circularComs1 = property | |
Second oldest Command vector in the circular buffer. More... | |
d_com = property | |
Current command vector. More... | |
d_com1 = property | |
Command vector at iteration k-1. More... | |
d_com_clipped = property | |
Delayed commands. More... | |
d_dmseen = property | |
Vector of SutraDm commanded. More... | |
d_perturb_map = property | |
Perturbation voltage buffers. More... | |
d_voltage = property | |
Total voltage to apply on the DMs. More... | |
delay = property | |
Loop delay. More... | |
device = property | |
GPU device index. More... | |
gain = property | |
Controller gain. More... | |
nactu = property | |
Number of actuators to control. More... | |
nslope = property | |
Number of slopes. More... | |
open_loop = property | |
Open loop flag. More... | |
type = property | |
Controller type. More... | |
val_max = property | |
Maximum value for d_voltage (ADU). More... | |
Definition at line 4450 of file sutraWrap.py.
int sutraWrap.ControllerCURED_FU.init_cured | ( | self, | |
int | nxsub, | ||
numpy.ndarray[numpy.int32] | isvalid, | ||
int | ndivs, | ||
int | tt | ||
) |
Initialize CURED.
nxsub | (int): TODO: docstring isvalid: |
ndivs | (int): |
tt | (int): |
Definition at line 4463 of file sutraWrap.py.
|
static |
Centroids circular buffer.
@n type of : carmaWrap.obj_float
Definition at line 4470 of file sutraWrap.py.
|
static |
|
static |
|
static |
|
static |
Increment error.
@n type of : carmaWrap.host_obj_float
Definition at line 4506 of file sutraWrap.py.
|
static |
|
static |