synth.interferogram | R Documentation |
Compute and display a synthetic interferogram.
synth.interferogram(wf = NULL, zcoef = NULL, maxorder = NULL,
nr = nrow(wf), nc = ncol(wf), cp = NULL,
phi = 0, addzc = rep(0, 4), fringescale = 1,
plots = TRUE)
wf |
A matrix of wavefront values |
zcoef |
A vector of Zernike coefficients |
maxorder |
Maximum Zernike polynomial order |
nr |
Number of rows in the output matrix |
nc |
Number of columns in the output matrix |
cp |
A list describing the pupil boundaries, as created by |
phi |
Amount to rotate the wavefront, in degrees |
addzc |
A 4-vector with piston, tilt, and defocus terms to be added |
fringescale |
Fringe scale. Should be 1 for single pass, 0.5 for double, etc. |
plots |
Logical: Plot the interferogram? |
Either wf
or zcoef
must be non-null,
but not both. If zcoef
is specified maxorder
must be as well.
Additional piston, tilt, and defocus terms can be added
to the calculated wavefront using addzc
.
A matrix of intensity levels in the calculated interferogram,
assigned class "pupil"
.
M.L. Peck mpeck1@ix.netcom.com
pupil
.
# create a list of zernikes
zcoef <- rnorm(length(zlist.fr$n), mean=0, sd=0.01)
iwf <- synth.interferogram(zcoef=zcoef, maxorder=12)
X11()
# show again with some tilt
iwf <- synth.interferogram(zcoef=zcoef, maxorder=12, addzc=c(0,5,5,0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.