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

Public Member Functions

None __init__ (self, carmaWrap.context context, int device, int nssp, int nlayers, float gsangle, numpy.ndarray[numpy.float32] vdt, numpy.ndarray[numpy.float32] Htheta, numpy.ndarray[numpy.float32] L0, numpy.ndarray[numpy.float32] winddir, numpy.ndarray[numpy.float32] scale, numpy.ndarray[numpy.float32] pzt2tt, numpy.ndarray[numpy.float32] TTPfilter, numpy.ndarray[numpy.float32] Nact, numpy.ndarray[numpy.float32] xpos, numpy.ndarray[numpy.float32] ypos, float fc)
 Initializes Groot to compute aniso and bandwidth model. More...
 
None __init__ (self, carmaWrap.context context, int device, int nssp, numpy.ndarray[numpy.float32] weights, float scale, numpy.ndarray[numpy.float32] xpos, numpy.ndarray[numpy.float32] ypos, float fc, float d, int npts)
 
int compute_Calias (self)
 Computes the aliasing error covariance matrix. More...
 
int compute_Cerr (self)
 Computes the aniso and bandwidth error covariance matrix. More...
 

Properties

 d = property
 DM pitch. More...
 
 d_CaXX = property
 XX component of the aliasing model. More...
 
 d_CaYY = property
 YY component of the aliasing model. More...
 
 d_Cerr = property
 Model of aniso and bandwidth covariance error matrix. More...
 
 d_Nact = property
 Coupling matrix. More...
 
 d_TT = property
 tip-tilt IF matrix More...
 
 d_TTPfilter = property
 Tip-tilt and piston filter matrix (= Btt.dot(P)) More...
 
 d_pzt2tt = property
 pzt to TT matrix More...
 
 d_tab_int_x = property
 Tabulated integral. More...
 
 d_tab_int_y = property
 Tabulated integral. More...
 
 d_xpos = property
 X-positions of DM actuators or ssp [m]. More...
 
 d_ypos = property
 Y-positions of DM actuators or ssp [m]. More...
 
 device = property
 GPU device. More...
 
 fc = property
 DM cut-off frequency [m]. More...
 
 gsangle = property
 Guide star angle [rad]. More...
 
 nactus = property
 Number of actuators. More...
 
 nlayers = property
 number of turbulent layers More...
 
 npts = property
 number of samples for aliasig computation More...
 
 nssp = property
 number of subap More...
 
 scale = property
 Scale factor. More...
 

Detailed Description

Definition at line 5483 of file sutraWrap.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

None sutraWrap.Groot.__init__ (   self,
carmaWrap.context  context,
int  device,
int  nssp,
int  nlayers,
float  gsangle,
numpy.ndarray[numpy.float32]  vdt,
numpy.ndarray[numpy.float32]  Htheta,
numpy.ndarray[numpy.float32]  L0,
numpy.ndarray[numpy.float32]  winddir,
numpy.ndarray[numpy.float32]  scale,
numpy.ndarray[numpy.float32]  pzt2tt,
numpy.ndarray[numpy.float32]  TTPfilter,
numpy.ndarray[numpy.float32]  Nact,
numpy.ndarray[numpy.float32]  xpos,
numpy.ndarray[numpy.float32]  ypos,
float  fc 
)

Initializes Groot to compute aniso and bandwidth model.

Parameters
context(CarmaContext): context
device(int): context active device
nssp(str) :
         nlayers:

         gsangle:

         vdt:
Htheta
L0
         winddir:

         scale:

         pzt2tt:
TTPfilter
Nact
         xpos:

         ypos:

         fc:



   Initializes Groot to compute aliasing model
Parameters
context(CarmaContext): context
device(int): context active device
nssp(str) :
         weights:

         scale:

         xpos:

         ypos:

         fc:

         d:

         npts:

Definition at line 5547 of file sutraWrap.py.

Here is the caller graph for this function:

◆ __init__() [2/2]

None sutraWrap.Groot.__init__ (   self,
carmaWrap.context  context,
int  device,
int  nssp,
numpy.ndarray[numpy.float32]  weights,
float  scale,
numpy.ndarray[numpy.float32]  xpos,
numpy.ndarray[numpy.float32]  ypos,
float  fc,
float  d,
int  npts 
)

Definition at line 5549 of file sutraWrap.py.

Here is the call graph for this function:

Member Function Documentation

◆ compute_Calias()

int sutraWrap.Groot.compute_Calias (   self)

Computes the aliasing error covariance matrix.

Definition at line 5553 of file sutraWrap.py.

◆ compute_Cerr()

int sutraWrap.Groot.compute_Cerr (   self)

Computes the aniso and bandwidth error covariance matrix.

Definition at line 5557 of file sutraWrap.py.

Property Documentation

◆ d

sutraWrap.Groot.d = property
static

DM pitch.

   @n type of :  float

Definition at line 5564 of file sutraWrap.py.

◆ d_CaXX

sutraWrap.Groot.d_CaXX = property
static

XX component of the aliasing model.

   @n type of :  carmaWrap.obj_float

Definition at line 5573 of file sutraWrap.py.

◆ d_CaYY

sutraWrap.Groot.d_CaYY = property
static

YY component of the aliasing model.

   @n type of :  carmaWrap.obj_float

Definition at line 5582 of file sutraWrap.py.

◆ d_Cerr

sutraWrap.Groot.d_Cerr = property
static

Model of aniso and bandwidth covariance error matrix.

   @n type of :  carmaWrap.obj_float

Definition at line 5591 of file sutraWrap.py.

◆ d_Nact

sutraWrap.Groot.d_Nact = property
static

Coupling matrix.

   @n type of :  carmaWrap.obj_float

Definition at line 5600 of file sutraWrap.py.

◆ d_pzt2tt

sutraWrap.Groot.d_pzt2tt = property
static

pzt to TT matrix

   @n type of :  carmaWrap.obj_float

Definition at line 5627 of file sutraWrap.py.

◆ d_tab_int_x

sutraWrap.Groot.d_tab_int_x = property
static

Tabulated integral.

   @n type of :  carmaWrap.obj_float

Definition at line 5636 of file sutraWrap.py.

◆ d_tab_int_y

sutraWrap.Groot.d_tab_int_y = property
static

Tabulated integral.

   @n type of :  carmaWrap.obj_float

Definition at line 5645 of file sutraWrap.py.

◆ d_TT

sutraWrap.Groot.d_TT = property
static

tip-tilt IF matrix

   @n type of :  carmaWrap.obj_float

Definition at line 5609 of file sutraWrap.py.

◆ d_TTPfilter

sutraWrap.Groot.d_TTPfilter = property
static

Tip-tilt and piston filter matrix (= Btt.dot(P))

   @n type of :  carmaWrap.obj_float

Definition at line 5618 of file sutraWrap.py.

◆ d_xpos

sutraWrap.Groot.d_xpos = property
static

X-positions of DM actuators or ssp [m].

   @n type of :  carmaWrap.obj_float

Definition at line 5654 of file sutraWrap.py.

◆ d_ypos

sutraWrap.Groot.d_ypos = property
static

Y-positions of DM actuators or ssp [m].

   @n type of :  carmaWrap.obj_float

Definition at line 5663 of file sutraWrap.py.

◆ device

sutraWrap.Groot.device = property
static

GPU device.

   @n type of :  int

Definition at line 5672 of file sutraWrap.py.

◆ fc

sutraWrap.Groot.fc = property
static

DM cut-off frequency [m].

   @n type of :  float

Definition at line 5681 of file sutraWrap.py.

◆ gsangle

sutraWrap.Groot.gsangle = property
static

Guide star angle [rad].

   @n type of :  float

Definition at line 5690 of file sutraWrap.py.

◆ nactus

sutraWrap.Groot.nactus = property
static

Number of actuators.

   @n type of :  int

Definition at line 5699 of file sutraWrap.py.

◆ nlayers

sutraWrap.Groot.nlayers = property
static

number of turbulent layers

   @n type of :  int

Definition at line 5708 of file sutraWrap.py.

◆ npts

sutraWrap.Groot.npts = property
static

number of samples for aliasig computation

   @n type of :  int

Definition at line 5717 of file sutraWrap.py.

◆ nssp

sutraWrap.Groot.nssp = property
static

number of subap

   @n type of :  int

Definition at line 5726 of file sutraWrap.py.

◆ scale

sutraWrap.Groot.scale = property
static

Scale factor.

   @n type of :  float

Definition at line 5735 of file sutraWrap.py.


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