![]() |
COMPASS
5.0.0
End-to-end AO simulation tool using GPU acceleration
|
Functions for DM KL initialization. More...
Functions | |
float | make_radii (float cobs, int nr) |
TODO docstring. More... | |
np.ndarray | make_kernels (float cobs, int nr, np.ndarray radp, bytes kl_type, float outscl=3.) |
np.ndarray | piston_orth (int nr) |
TODO docstring. More... | |
np.ndarray | make_azimuth (int nord, int npp) |
TODO docstring. More... | |
np.ndarray | radii (int nr, int npp, float cobs) |
np.ndarray | polang (np.ndarray r) |
Tuple[np.ndarray, np.ndarray, np.ndarray] | setpincs (np.ndarray ax, np.ndarray ay, np.ndarray px, np.ndarray py, float cobs) |
def | pcgeom (nr, npp, cobs, ncp, ncmar) |
def | set_pctr (int dim, nr, npp, int nkl, float cobs, nord, ncmar=None, ncp=None) |
def | gkl_fcom (np.ndarray kers, float cobs, int nf) |
def | gkl_sfi (p_dm, i) |
def | pol2car (pol, p_dm, mask=0) |
def | kl_view (p_dm, mask=1) |
Functions for DM KL initialization.
This file is part of COMPASS https://anr-compass.github.io/compass/
Copyright (C) 2011-2019 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.util.kl_util.gkl_fcom | ( | np.ndarray | kers, |
float | cobs, | ||
int | nf | ||
) |
def shesha.util.kl_util.gkl_sfi | ( | p_dm, | |
i | |||
) |
def shesha.util.kl_util.kl_view | ( | p_dm, | |
mask = 1 |
|||
) |
np.ndarray shesha.util.kl_util.make_azimuth | ( | int | nord, |
int | npp | ||
) |
np.ndarray shesha.util.kl_util.make_kernels | ( | float | cobs, |
int | nr, | ||
np.ndarray | radp, | ||
bytes | kl_type, | ||
float | outscl = 3. |
||
) |
Definition at line 85 of file kl_util.py.
float shesha.util.kl_util.make_radii | ( | float | cobs, |
int | nr | ||
) |
TODO docstring.
:parameters:
cobs (float) : central obstruction
nr (int) :
Definition at line 53 of file kl_util.py.
def shesha.util.kl_util.pcgeom | ( | nr, | |
npp, | |||
cobs, | |||
ncp, | |||
ncmar | |||
) |
Definition at line 348 of file kl_util.py.
np.ndarray shesha.util.kl_util.piston_orth | ( | int | nr | ) |
TODO docstring.
:parameters: nr: :return: s:
Definition at line 127 of file kl_util.py.
def shesha.util.kl_util.pol2car | ( | pol, | |
p_dm, | |||
mask = 0 |
|||
) |
np.ndarray shesha.util.kl_util.polang | ( | np.ndarray | r | ) |
np.ndarray shesha.util.kl_util.radii | ( | int | nr, |
int | npp, | ||
float | cobs | ||
) |
def shesha.util.kl_util.set_pctr | ( | int | dim, |
nr, | |||
npp, | |||
int | nkl, | ||
float | cobs, | ||
nord, | |||
ncmar = None , |
|||
ncp = None |
|||
) |
Tuple[np.ndarray, np.ndarray, np.ndarray] shesha.util.kl_util.setpincs | ( | np.ndarray | ax, |
np.ndarray | ay, | ||
np.ndarray | px, | ||
np.ndarray | py, | ||
float | cobs | ||
) |