XAOSIM atmospheric phase screens
Table of Contents
1 Introduction
Pick your favorite stargazing spot and document yourself about the properties of the atmospheric seeing for that time of the year.
import xaosim as xs csz = 400 atmo = xs.Phscreen( name="MaunaKea", csz=400, lsz=8.0, r0=0.5, L0=10, fc=19.5, correc=1.0, shdir="/dev/shm/", shmf="maunakea.wf.shm")
The parameters that are passed along are:
nameis a human readable label,cszis again, the size of the array used for the computation,lszis the linear physical size of the array (here equal to the telescope pupil diameter of 6 meters),r0is the size of the Fried parameter (in meters),L0is the size of the outer scale parameter (in meters),fcis the AO cutoff frequency expressed in number of cycles across the aperture (don't worry about it now),correcis the uniform AO correction gain over the range of possible spatial frequencies (here again, it will make sense later),shdiris the directory where the camera SHM data structure will be written,shmfis the name of the SHM data structure itself. Notice that we use a different.wf.shmextension, which is only used in the context of theseXAOSIMsimulations.
I won't get into a lecture about atmospheric turbulence and will assume that you know what the Fried and the outer scale parameters are. If you don't, then I encourage you to do a little research online. As for the two mysterious fc and correc, their description and the rationale for their existence will be provided below.
