Skip to content

Commit 1773d8d

Browse files
author
Matthew Townson
authored
Merge pull request #58 from matthewtownson/updated_docs
Updated docstrings to state units of phase screen is radians
2 parents baf7f64 + 1734bd7 commit 1773d8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

aotools/turbulence/infinitephasescreen.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def add_row(self):
207207
@property
208208
def scrn(self):
209209
"""
210-
The current phase map held in the PhaseScreen object.
210+
The current phase map held in the PhaseScreen object in radians.
211211
"""
212212
return self._scrn[:self.requested_nx_size, :self.requested_nx_size]
213213

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

0 commit comments

Comments
 (0)