![]() |
COMPASS
5.0.0
End-to-end AO simulation tool using GPU acceleration
|
Imported from CANARY. More...
Functions | |
def | clr (*figs) |
THE Fab function. More... | |
def | system (cmd, output=False) |
def | pli (data, color='gist_earth', cmin=9998, cmax=9998, win=1, origin=None, aspect='equal') |
plots the transpose of the data More... | |
def | binning (w, footprint) |
def | minmax (tab) |
def | plg (data, x="", win=1, xlog=0, ylog=0, color="black") |
def | zcen (data) |
def | getValidSubapArray (nssp, rext, rint, return2d=False) |
def | plpyr (slopesvector, validArray) |
wao.config.p_wfs0._isvalid More... | |
def | plsh (slopesvector, nssp, validint, sparta=False, invertxy=False, returnquiver=False) |
def | pl3d (im) |
ir = pyfits.get_data("/home/fvidal/data/Run2015/June2015_27_onsky/ir/ir_2015-06-28_06h27m40s_script44_gain.fits") More... | |
def | FFThz (signal, fe, freq=0) |
PSD = FFThz( signal, fe ) OU f = FFThz( 1024, fe, freq=1 ) On the first form, returns the power spectral density of signal. More... | |
def | computePSD (zerall, fe, izerNum, wfsNum) |
def | countExample (seconds) |
def | plotSubapRectangles (pup, isvalid, istart, jstart) |
Imported from CANARY.
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.tools.clr | ( | * | figs | ) |
def shesha.util.tools.computePSD | ( | zerall, | |
fe, | |||
izerNum, | |||
wfsNum | |||
) |
def shesha.util.tools.countExample | ( | seconds | ) |
def shesha.util.tools.FFThz | ( | signal, | |
fe, | |||
freq = 0 |
|||
) |
PSD = FFThz( signal, fe ) OU f = FFThz( 1024, fe, freq=1 ) On the first form, returns the power spectral density of signal.
If signal has units 'u', the PSD has units 'u^2/Hz'. The frequency axis can be get by using the keyword freq=1.
Definition at line 339 of file tools.py.
def shesha.util.tools.getValidSubapArray | ( | nssp, | |
rext, | |||
rint, | |||
return2d = False |
|||
) |
def shesha.util.tools.minmax | ( | tab | ) |
def shesha.util.tools.pl3d | ( | im | ) |
ir = pyfits.get_data("/home/fvidal/data/Run2015/June2015_27_onsky/ir/ir_2015-06-28_06h27m40s_script44_gain.fits")
JAMAIS TESTEE !!!!!!!!!!!!!!
def shesha.util.tools.plg | ( | data, | |
x = "" , |
|||
win = 1 , |
|||
xlog = 0 , |
|||
ylog = 0 , |
|||
color = "black" |
|||
) |
def shesha.util.tools.pli | ( | data, | |
color = 'gist_earth' , |
|||
cmin = 9998 , |
|||
cmax = 9998 , |
|||
win = 1 , |
|||
origin = None , |
|||
aspect = 'equal' |
|||
) |
plots the transpose of the data
color maps keywords can be found in http://wiki.scipy.org/Cookbook/Matplotlib/Show_colormaps
Definition at line 103 of file tools.py.
def shesha.util.tools.plotSubapRectangles | ( | pup, | |
isvalid, | |||
istart, | |||
jstart | |||
) |
def shesha.util.tools.plpyr | ( | slopesvector, | |
validArray | |||
) |
def shesha.util.tools.plsh | ( | slopesvector, | |
nssp, | |||
validint, | |||
sparta = False , |
|||
invertxy = False , |
|||
returnquiver = False |
|||
) |