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

script test to simulate a closed loop More...

Variables

 arguments = docopt(__doc__)
 
 param_file = arguments["<parameters_filename>"]
 
 compute_tar_psf = not arguments["--fast"]
 
 config = ParamConfig(param_file)
 
 supervisor = Supervisor(config)
 
 niter
 

Detailed Description

script test to simulate a closed loop

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.

script test to simulate a closed loop

Usage
closed_loop.py <parameters_filename> [options]
with 'parameters_filename' the path to the parameters file
Options
-h –help Show this help message and exit –brahma Distribute data with brahma –bench For a timed call -i –interactive keep the script interactive -d –devices devices Specify the devices -n –niter niter Number of iterations -g –generic Use generic controller -f –fast Compute PSF only during monitoring

Variable Documentation

◆ arguments

shesha.scripts.closed_loop.arguments = docopt(__doc__)

Definition at line 63 of file closed_loop.py.

◆ compute_tar_psf

shesha.scripts.closed_loop.compute_tar_psf = not arguments["--fast"]

Definition at line 66 of file closed_loop.py.

◆ config

shesha.scripts.closed_loop.config = ParamConfig(param_file)

Definition at line 68 of file closed_loop.py.

◆ niter

shesha.scripts.closed_loop.niter

Definition at line 92 of file closed_loop.py.

◆ param_file

shesha.scripts.closed_loop.param_file = arguments["<parameters_filename>"]

Definition at line 65 of file closed_loop.py.

◆ supervisor

shesha.scripts.closed_loop.supervisor = Supervisor(config)

Definition at line 90 of file closed_loop.py.