Skip to content

Commit

Permalink
Updated docstrings to state units of phase screen is radians
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Townson <[email protected]>
  • Loading branch information
Matthew Townson committed Jul 14, 2020
1 parent 1595d22 commit 1734bd7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aotools/turbulence/infinitephasescreen.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def add_row(self):
@property
def scrn(self):
"""
The current phase map held in the PhaseScreen object.
The current phase map held in the PhaseScreen object in radians.
"""
return self._scrn[:self.requested_nx_size, :self.requested_nx_size]

Expand Down Expand Up @@ -253,7 +253,7 @@ class PhaseScreenVonKarman(PhaseScreen):
On initialisation an initial phase screen is calculated using an FFT based method.
When ``add_row`` is called, a new vector of phase is added to the phase screen using `nCols`
columns of previous phase. Assemat & Wilson claim that two columns are adequate for good
atmospheric statistics. The phase in the screen data is always accessed as ``<phasescreen>.scrn``.
atmospheric statistics. The phase in the screen data is always accessed as ``<phasescreen>.scrn`` and is in radians.
Parameters:
nx_size (int): Size of phase screen (NxN)
Expand Down Expand Up @@ -361,7 +361,7 @@ class PhaseScreenKolmogorov(PhaseScreen):
On initialisation an initial phase screen is calculated using an FFT based method.
When ``add_row`` is called, a new vector of phase is added to the phase screen. The phase in the screen data
is always accessed as ``<phasescreen>.scrn``.
is always accessed as ``<phasescreen>.scrn`` and is in radians.
Parameters:
nx_size (int): Size of phase screen (NxN)
Expand Down

0 comments on commit 1734bd7

Please sign in to comment.