![]() |
COMPASS
5.4.4
End-to-end AO simulation tool using GPU acceleration
|
Computation of tomographic reconstructor. More...
Functions | |
def | do_tomo_matrices (int ncontrol, Rtc rtc, List[conf.Param_wfs] p_wfss, Dms dms, Atmos atmos, Sensors wfs, conf.Param_controller p_controller, conf.Param_geom p_geom, list p_dms, conf.Param_tel p_tel, conf.Param_atmos p_atmos) |
Compute Cmm and Cphim matrices for the MV controller on GPU. More... | |
def | selectDMforLayers (conf.Param_atmos p_atmos, conf.Param_controller p_controller, list p_dms) |
For each atmos layer, select the DM which have to handle it in the Cphim computation for MV controller. More... | |
def | create_nact_geom (conf.Param_dm p_dm) |
Compute the DM coupling matrix. More... | |
def | create_piston_filter (conf.Param_dm p_dm) |
Create the piston filter matrix. More... | |
Computation of tomographic reconstructor.
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.
def shesha.ao.tomo.create_nact_geom | ( | conf.Param_dm | p_dm | ) |
def shesha.ao.tomo.create_piston_filter | ( | conf.Param_dm | p_dm | ) |
def shesha.ao.tomo.do_tomo_matrices | ( | int | ncontrol, |
Rtc | rtc, | ||
List[conf.Param_wfs] | p_wfss, | ||
Dms | dms, | ||
Atmos | atmos, | ||
Sensors | wfs, | ||
conf.Param_controller | p_controller, | ||
conf.Param_geom | p_geom, | ||
list | p_dms, | ||
conf.Param_tel | p_tel, | ||
conf.Param_atmos | p_atmos | ||
) |
Compute Cmm and Cphim matrices for the MV controller on GPU.
ncontrol | (int): controller index |
rtc | (Rtc) : rtc object |
p_wfss | (list of Param_wfs) : wfs settings |
dms | (Dms) : Dms object |
atmos | (Atmos) : Atmos object |
wfs | (Sensors) : Sensors object |
p_controller | (Param_controller): controller settings |
p_geom | (Param_geom) : geom settings |
p_dms | (list of Param_dms) : dms settings |
p_tel | (Param_tel) : telescope settings |
p_atmos | (Param_atmos) : atmos settings |
Definition at line 75 of file tomo.py.
def shesha.ao.tomo.selectDMforLayers | ( | conf.Param_atmos | p_atmos, |
conf.Param_controller | p_controller, | ||
list | p_dms | ||
) |
For each atmos layer, select the DM which have to handle it in the Cphim computation for MV controller.
p_atmos | (Param_atmos) : atmos parameters |
p_controller | (Param_controller) : controller parameters p_dms :(list of Param_dm) : dms parameters:return: |
indlayersDM | (np.array(dtype=np.int32)) : for each atmos layer, the Dm number corresponding to it |
Definition at line 203 of file tomo.py.