pupil.rhotheta: Polar coordinates

View source: R/pupil.r

pupil.rhothetaR Documentation

Polar coordinates

Description

Calculate matrixes of polar coordinates for pupil's.

Usage

pupil.rhotheta(nrow, ncol, cp)

Arguments

nrow

Number of rows in interferogram images

ncol

Number of columns in interferogram images

cp

A list describing the pupil boundary, as returned by pupil.pars

Value

A list with the following components:

rho

A matrix of radial coordinates

theta

A matrix of angular coordinates

Note

My Zernike polynomial routines work in polar coordinates, which this function provides. Also, NA's are used to fill the matrix outside the pupil boundary, making the returned values convenient for selecting pixels inside interferograms.

Author(s)

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

See Also

Zernike, pupil.


mlpeck/zernike documentation built on Dec. 29, 2024, 7:41 p.m.