plot.cmat: Plot a complex matrix

View source: R/zernike_misc.r

plot.cmatR Documentation

Plot a complex matrix

Description

Plot a real valued function of a complex matrix

Usage

plot.cmat(X, fn = "Mod", col = grey256, 
	cp=NULL, zoom=1, gamma=1, ...)

Arguments

X

A complex valued matrix

fn

A function returning a real value

col

Color palette for graph

cp

pupil parameters as returned by pupil.pars

zoom

zoom factor for display

gamma

gamma value for display

...

Other parameters to pass to image.default

Details

In addition to the functions described in complex fn can be assigned the values "logMod", which will call an internally defined function returning the value log(1+Mod(X)), "Mod2" to plot the power spectrum, and "logMod2" to plot the logarithm of the power spectrum.

If the parameter cp is passed axes will display spatial frequencies in cycles per pupil radius.

Value

none

Note

This is used primarily for displaying FFT's of interferograms. In the case of an interferogram in which the background has not been removed use fn="logMod" to make the first order sidelobes visible.

Author(s)

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

See Also

pick.sidelobe, fftfit.


mlpeck/zernike documentation built on April 19, 2024, 3:16 p.m.