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

Functions

def write_atm (file_name, atm, screen_file, zenithangle)
 Write (append) atmospheric parameters to file for YAO use. More...
 

Function Documentation

◆ write_atm()

def yao.atmos.write_atm (   file_name,
  atm,
  screen_file,
  zenithangle 
)

Write (append) atmospheric parameters to file for YAO use.

Parameters
file_name(str) : name of the file to append the parameter to
atm(Param_atmos) : compass atmospheric parameters. Note that
atm.winddir is transformed
screen_file : (str) : path to the yao turbulent screen files. Note that the string is passed through raw (without quotes around it) in order to use yorick variables in the path name (e.g., Y_USER).

Definition at line 17 of file yao/atmos.py.