turbwf | R Documentation |
Simulates the optical effects of atmospheric turbulence using Noll's (1976) calculation of the covariance matrix of Zernike polynomials under Kolmogorov turbulence.
turbwf(friedratio = 1, zlist = makezlist(2, 40), reps = 1)
friedratio |
Ratio of pupil diameter to Fried parameter |
zlist |
A list of Zernikes, as returned for example by |
reps |
Number of draws to simulate |
The default value of zlist has 440 elements, which may be more than necessary for a reasonable representation of an “atmospheric” wavefront.
A list with the following components:
zcoef.turb |
A |
V |
Covariance matrix of the indexed Zernikes. |
Typos in the original source material have been corrected in the code. Note that scintillation is not modelled.
M.L. Peck mpeck1@ix.netcom.com
Noll, R.J. 1976, Zernike polynomials and atmospheric turbulence, J. Opt. Soc. Am., Vol. 66, No. 3, p. 207.
Zernike
,
pupil
.
# Simulate a single draw from a turbulent atmosphere
zcoef.turb <- turbwf(friedratio=5, zlist=makezlist(2,30), reps=1)$zcoef.turb
# Warning: this can take a while
wf <- pupil(zcoef=zcoef.turb, zlist=makezlist(2,30))
plot(wf)
summary(wf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.