COMPASS  5.4.4
End-to-end AO simulation tool using GPU acceleration
common.imat Namespace Reference

Functions

def compose_imat (sup, *compose_type="controller", controller_id=0)
 Return an interaction matrix. More...
 

Function Documentation

◆ compose_imat()

def common.imat.compose_imat (   sup,
compose_type = "controller",
  controller_id = 0 
)

Return an interaction matrix.

return either the specified controller interaction matrix (if compose_type="controller") or an imat composed of all controller interaction matrices (if compose_type="splitTomo")

Parameters
sup(compasSSupervisor) : supervisor
Kargs
compose_type (str) : (optional), default "controller" possibility to specify split tomography case ("controller" or "splitTomo")
controller_id (int) : (optional), default 0 controller index
Returns
imat (np.ndarray[ndim=1, dtype=np.float32]) : interaction matrix

Definition at line 19 of file imat.py.