COMPASS  5.4.4
End-to-end AO simulation tool using GPU acceleration
shesha.util.rtc_util Namespace Reference

Some utilities functions for RTC. More...

Functions

def create_interp_mat (int dimx, int dimy)
 TODO doc. More...
 
def centroid_gain (E, F)
 Returns the mean centroid gain. More...
 

Detailed Description

Some utilities functions for RTC.

Author
COMPASS Team https://github.com/ANR-COMPASS
Version
5.4.4
Date
2022/01/24

This file is part of COMPASS https://anr-compass.github.io/compass/

Copyright (C) 2011-2023 COMPASS Team https://github.com/ANR-COMPASS All rights reserved. Distributed under GNU - LGPL

COMPASS is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

COMPASS: End-to-end AO simulation tool using GPU acceleration The COMPASS platform was designed to meet the need of high-performance for the simulation of AO systems.

The final product includes a software package for simulating all the critical subcomponents of AO, particularly in the context of the ELT and a real-time core based on several control approaches, with performances consistent with its integration into an instrument. Taking advantage of the specific hardware architecture of the GPU, the COMPASS tool allows to achieve adequate execution speeds to conduct large simulation campaigns called to the ELT.

The COMPASS platform can be used to carry a wide variety of simulations to both testspecific components of AO of the E-ELT (such as wavefront analysis device with a pyramid or elongated Laser star), and various systems configurations such as multi-conjugate AO.

COMPASS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with COMPASS. If not, see https://www.gnu.org/licenses/lgpl-3.0.txt.

Function Documentation

◆ centroid_gain()

def shesha.util.rtc_util.centroid_gain (   E,
  F 
)

Returns the mean centroid gain.

Parameters
E(np.array(dtype=np.float32)) : measurements from WFS
F(np.array(dtype=np.float32)) : geometric measurements

:return:

Parameters
cgain(float) : mean centroid gain between the sets of WFS measurements and geometric ones

Definition at line 78 of file rtc_util.py.

◆ create_interp_mat()

def shesha.util.rtc_util.create_interp_mat ( int  dimx,
int  dimy 
)

TODO doc.

Parameters
dimx(int) :
dimy(int) :

Definition at line 49 of file rtc_util.py.