zmult: Zernike coefficient multipliers

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

Description

Conversion factors between normalized and conventional Zernike polynomials.

Usage

1
zmult(zlist = zlist.qf)

Arguments

zlist

A list with named components n, m, t

Details

The list indicates the Zernike polynomial orders to use, in the form returned by makezlist and zlist.qf.

Value

A vector the same length as the components of zlist.

Note

This function is not actually used in the current version of Rfringe, but is included for user convenience.

Author(s)

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

See Also

Zernike, makezlist, zlist.qf.

Examples

1
2
3
4
5
zcoef <- rnorm(length(zlist.qf$n))
zcoef		# a vector of normalized Zernike coefficients
zcoef*zmult()   # Coefficients in conventional representation
sqrt(crossprod(zcoef)) # This is the RMS error of the wavefront 
			# constructed from these Zernikes

matwey/Rfringe documentation built on May 12, 2019, 8:43 a.m.