turbwf: Kolmogorov Turbulence

View source: R/zernike_misc.r

turbwfR Documentation

Kolmogorov Turbulence

Description

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

Usage

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 mpeck1@ix.netcom.com

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

# 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 April 19, 2024, 3:16 p.m.