COMPASS  5.4.4
End-to-end AO simulation tool using GPU acceleration
yao Namespace Reference

Namespaces

 atmos
 
 dm
 
 general
 
 gs
 
 loop
 
 targets
 
 wfs
 

Functions

def write_parfiles (sup, *param_file_name="./yao.par", fits_file_name="./yao.fits", screen_dir="\"./yao_screen\"", n_wfs=None, controller_id=-1, influ_index=0, imat_type="controller")
 Write parameter files for YAO simulations. More...
 

Function Documentation

◆ write_parfiles()

def yao.write_parfiles (   sup,
param_file_name = "./yao.par",
  fits_file_name = "./yao.fits",
  screen_dir = "\"./yao_screen\"",
  n_wfs = None,
  controller_id = -1,
  influ_index = 0,
  imat_type = "controller" 
)

Write parameter files for YAO simulations.

Parameters
sup(CompassSupervisor) : supervisor
param_file_name(str) : (optional), default "./yao.par" name of the yao parameter file
fits_file_name(str) : (optional), default "./yao.fits" name of fits file containing sub-apertures and actuator position etc
screen_dir(str) : (optional), default "./yao_screen" path to the yao turbulent screen files
n_wfs(int) : (optional), number of WFS (default: all wfs)
controller_id(int) : index of te controller (default : all)
influ_index(int) : actuator index to get the influence function from
imat_type(str) : (optional), default "controller" use of regular controller or split tomography (among "controller", "splitTomo")

Definition at line 31 of file util/writers/yao/__init__.py.