![]() |
COMPASS
5.4.4
End-to-end AO simulation tool using GPU acceleration
|
Initialization and execution of a CANAPASS supervisor. More...
Classes | |
class | CanapassSupervisor |
class | loopHandler |
Variables | |
arguments = docopt(__doc__) | |
config = ParamConfig(arguments["<parameters_filename>"]) | |
rMod = int(arguments["--rmod"]) | |
nbPtMod = int(np.ceil(int(rMod * 2 * 3.141592653589793) / 4.) * 4) | |
supervisor = CanapassSupervisor(config, cacao=True) | |
REQUIRE_EXPOSE | |
p = Popen("whoami", shell=True, stdout=PIPE, stderr=PIPE) | |
out | |
err | |
user = out.split(b"\n")[0].decode("utf-8") | |
coro2pyro = PyroEmptyClass() | |
list | devices |
list | names |
list | nname = [] |
server = PyroServer(listDevices=devices, listNames=nname) | |
Initialization and execution of a CANAPASS supervisor.
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.
Initialization and execution of a CANAPASS supervisor
shesha.supervisor.canapassSupervisor.arguments = docopt(__doc__) |
Definition at line 129 of file canapassSupervisor.py.
shesha.supervisor.canapassSupervisor.config = ParamConfig(arguments["<parameters_filename>"]) |
Definition at line 130 of file canapassSupervisor.py.
shesha.supervisor.canapassSupervisor.coro2pyro = PyroEmptyClass() |
Definition at line 181 of file canapassSupervisor.py.
list shesha.supervisor.canapassSupervisor.devices |
Definition at line 184 of file canapassSupervisor.py.
shesha.supervisor.canapassSupervisor.err |
Definition at line 172 of file canapassSupervisor.py.
list shesha.supervisor.canapassSupervisor.names |
Definition at line 189 of file canapassSupervisor.py.
shesha.supervisor.canapassSupervisor.nbPtMod = int(np.ceil(int(rMod * 2 * 3.141592653589793) / 4.) * 4) |
Definition at line 155 of file canapassSupervisor.py.
list shesha.supervisor.canapassSupervisor.nname = [] |
Definition at line 194 of file canapassSupervisor.py.
shesha.supervisor.canapassSupervisor.out |
Definition at line 172 of file canapassSupervisor.py.
shesha.supervisor.canapassSupervisor.p = Popen("whoami", shell=True, stdout=PIPE, stderr=PIPE) |
Definition at line 171 of file canapassSupervisor.py.
shesha.supervisor.canapassSupervisor.REQUIRE_EXPOSE |
Definition at line 170 of file canapassSupervisor.py.
shesha.supervisor.canapassSupervisor.rMod = int(arguments["--rmod"]) |
Definition at line 154 of file canapassSupervisor.py.
Definition at line 197 of file canapassSupervisor.py.
shesha.supervisor.canapassSupervisor.supervisor = CanapassSupervisor(config, cacao=True) |
Definition at line 164 of file canapassSupervisor.py.
shesha.supervisor.canapassSupervisor.user = out.split(b"\n")[0].decode("utf-8") |
Definition at line 177 of file canapassSupervisor.py.