turbwf: Kolmogorov Turbulence

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/zernike_misc.r

Description

Simulates the optical effects of atmospheric turbulence using Noll's (1976) calculation of the covariance matrix of Zernike polynomials under Kolmogorov turbulence.

Usage

1
turbwf(friedratio = 1, zlist = makezlist(2, 40), reps = 1)

Arguments

friedratio

Ratio of pupil diameter to Fried parameter

zlist

A list of Zernikes, as returned for example by makezlist

reps

Number of draws to simulate

Details

The default value of zlist has 440 elements, which may be more than necessary for a reasonable representation of an “atmospheric” wavefront.

Value

A list with the following components:

zcoef.turb

A reps x length(zlist$n matrix of simulated draws of Zernike coefficients.

V

Covariance matrix of the indexed Zernikes.

Note

Typos in the original source material have been corrected in the code. Note that scintillation is not modelled.

Author(s)

M.L. Peck [email protected]

References

Noll, R.J. 1976, Zernike polynomials and atmospheric turbulence, J. Opt. Soc. Am., Vol. 66, No. 3, p. 207.

See Also

Zernike, pupil.

Examples

1
2
3
4
5
6
# 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)

mlpeck/zernike documentation built on May 23, 2019, 3:02 a.m.