COMPASS  5.0.0
End-to-end AO simulation tool using GPU acceleration
naga.array Namespace Reference

Documentation for naga. More...

Classes

class  Array
 
class  DimensionsError
 

Functions

def ones (shape, dtype=np.float32)
 
def zeros (shape, dtype=np.float32)
 

Variables

int USE_HALF = 1
 
 context = Context()
 

Detailed Description

Documentation for naga.

Author
COMPASS Team https://github.com/ANR-COMPASS
Version
5.0.0
Date
2020/05/18

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.

Function Documentation

◆ ones()

def naga.array.ones (   shape,
  dtype = np.float32 
)

Definition at line 225 of file array.py.

225 def ones(shape, dtype=np.float32):
226  return Array(np.ones(shape, dtype=dtype))
227 
228 

◆ zeros()

def naga.array.zeros (   shape,
  dtype = np.float32 
)

Definition at line 229 of file array.py.

229 def zeros(shape, dtype=np.float32):
230  return Array(np.zeros(shape, dtype=dtype))

Variable Documentation

◆ context

naga.array.context = Context()

Definition at line 47 of file array.py.

◆ USE_HALF

int naga.array.USE_HALF = 1

Definition at line 44 of file array.py.