![]() |
COMPASS
5.0.0
End-to-end AO simulation tool using GPU acceleration
|
On the fly modification of the WFS. More...
Functions | |
def | comp_new_pyr_ampl (int nwfs, float ampli, list p_wfss, conf.Param_tel p_tel, int npts_force=None) |
Set the pyramid modulation amplitude. More... | |
def | noise_cov (int nw, conf.Param_wfs p_wfs, conf.Param_atmos p_atmos, conf.Param_tel p_tel) |
Compute the diagonal of the noise covariance matrix for a SH WFS (arcsec^2) Photon (pi^2/2)*(1/Nphotons)*(d/r0)^2 / (2*pi*d/lambda)^2 Electronic (pi^2/3)*(wfs.noise^2/N^2photons)*wfs.npix^2*(wfs.npix*wfs.pixsize*d/lambda)^2 / (2*pi*d/lambda)^2. More... | |
def | comp_new_fstop (Sensors wfs, int n, conf.Param_wfs p_wfs, float fssize, bytes fstop) |
Compute a new field stop for pyrhr WFS. More... | |
On the fly modification of the WFS.
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.ao.wfs.comp_new_fstop | ( | Sensors | wfs, |
int | n, | ||
conf.Param_wfs | p_wfs, | ||
float | fssize, | ||
bytes | fstop | ||
) |
def shesha.ao.wfs.comp_new_pyr_ampl | ( | int | nwfs, |
float | ampli, | ||
list | p_wfss, | ||
conf.Param_tel | p_tel, | ||
int | npts_force = None |
||
) |
def shesha.ao.wfs.noise_cov | ( | int | nw, |
conf.Param_wfs | p_wfs, | ||
conf.Param_atmos | p_atmos, | ||
conf.Param_tel | p_tel | ||
) |
Compute the diagonal of the noise covariance matrix for a SH WFS (arcsec^2) Photon (pi^2/2)*(1/Nphotons)*(d/r0)^2 / (2*pi*d/lambda)^2 Electronic (pi^2/3)*(wfs.noise^2/N^2photons)*wfs.npix^2*(wfs.npix*wfs.pixsize*d/lambda)^2 / (2*pi*d/lambda)^2.
:parameters:
nw wfs number
p_wfs (Param_wfs) : wfs settings
p_atmos (Param_atmos) : atmos settings
p_tel (Param_tel) : telescope settings
:return:
cov (np.ndarray(ndim=1,dtype=np.float64)) : noise covariance diagonal
Definition at line 107 of file wfs.py.