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

Namespaces

 atmParams
 
 sysParams
 

Functions

def write_parfiles (sup, *file_name_sys="./sysParams.json", file_name_atm="./atmParams.json", file_name_data="sys-input.fits", wfss_indices=None, ts=False, dms_indices=None, imat_type="controller", controller_id=-1, influ_index=0)
 write the parameter files for SHIPS More...
 

Function Documentation

◆ write_parfiles()

def tao.write_parfiles (   sup,
file_name_sys = "./sysParams.json",
  file_name_atm = "./atmParams.json",
  file_name_data = "sys-input.fits",
  wfss_indices = None,
  ts = False,
  dms_indices = None,
  imat_type = "controller",
  controller_id = -1,
  influ_index = 0 
)

write the parameter files for SHIPS

Parameters
sup(CompassSupervisor) : supervisor
Kargs
file_name_sys (str) : AO system parameter file name (default = sysParams.json)
file_name_atm (str) : atmospheric parameter file name (default = atmParams.json)
file_name_data (str) : data fits file name (default = sys-input.fits), contains sub-apertures and actuator position etc
wfss_indices (list(int)) : list of wfs to write to file
ts (bool) : write truth sensor to file
dms_indices (list(int)) : list of dm to write to file
imat_type (str) : (optional), default "controller" use of regular controller or split tomography (among "controller", "splitTomo")
controller_id (int) : index of te controller (default : all)
influ_index (int) : actuator index to get the influence function from

Definition at line 29 of file util/writers/tao/__init__.py.