foucogram: Simulate a Foucaultgram

View source: R/zernike_misc.r

foucogramR Documentation

Simulate a Foucaultgram

Description

Simulates the appearance of a wavefront under the Foucault test.

Usage

foucogram(wf, edgex = 0, phradius = 0, slit = FALSE, 
  pad = 4, gamma = 1, map = FALSE, lev = 0.5)

Arguments

wf

An object of class pupil containing wavefront values

edgex

lateral position of knife edge

phradius

radius of light source

slit

Logical: Is source a slit or pinhole?

pad

pad factor for FFT

gamma

Gamma value for graphics display

map

Logical: Overlay contours from wavefront map?

lev

Increment for contour levels, if used

Details

The default value of 0 for phradius simulates a monochromatic point source. Try values in the range 10-30 to suppress diffraction effects.

Value

A matrix of intensity levels in the simulated image.

Note

The key approximations here are treating the light source as monochromatic and spatially coherent, which is usually not the case for an extended source. Also, Fraunhofer diffraction theory is used.

Author(s)

M.L. Peck mpeck1@ix.netcom.com

References

See http://home.netcom.com/~mpeck1/astro/foucault/ext_foucault.pdf for an outline of the mathematical treatment of an extended source.

See Also

pupil


mlpeck/zernike documentation built on March 19, 2024, 6:47 p.m.