fitzernikes | R Documentation |
Performs a least squares fit of a specified set of Zernike polynomials to a vector of wavefront measurements.
fitzernikes(wf, rho, theta, eps=0, phi = 0, maxorder = 14,
nthreads = -1, isoseq = FALSE,
usecirc = FALSE, ext_prec = FALSE)
wf |
A vector of wavefront values |
rho |
A vector of radial coordinates. |
theta |
A vector of angular coordinates, in radians. |
eps |
Obstruction fraction of annular aperture. |
phi |
Orientation of the image, in degrees |
maxorder |
Maximum Zernike polynomial order |
nthreads |
# threads for threaded function calls |
isoseq |
Boolean: use ISO/ANSI sequencing |
usecirc |
Boolean: Use circle Zernikes even if eps > 0? |
ext_prec |
Boolean: Use extended precision arithmetic for annular Zernike computation? |
wf
, rho
, and theta
must be the same length.
As of version 3.7.0 Zernike polynomials in ISO/ANSI sequence can
be used through a call to zpm_cart
.
The coefficients of the least squares fit.
With the standard ordering of Zernikes Z0 is the piston term, Z1 and Z2 are x and y tilts, Z3 is defocus, etc.
M.L. Peck mpeck1@ix.netcom.com
zpm
,
zpm_cart
,
zapm
,
zapm_iso
,
psifit
,
fftfit
,
vortexfit
,
wf_net
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.