RADP
Name
radp
Purpose (one Line)
Extract point-wise radial ``profile'' from image data.
Description
This routine will reorder the image into two 1-d vectors. One vector
is the radial distance from a point and the other vector is the
intensity for that distance. The image data is not modified, every
input pixel is returned, just in a different form.
Optionally, this program will attempt to fit a gaussian to the profile
and will return the FWHM of the image. You can also get the actual
fitted coefficients and the computed functional value. The fitting
is done with the procedure rgfit and its associated routine
rgauss_funct for computing the function.
Category
CCD data processing
Calling Sequence
radp,image,xcen,ycen,r,i,[fwhm,[coefs,[yfit]]]
Inputs
image - Input image to create profile from.
xcen - X-coordinate for r=0
ycen - Y-coordinate for r=0
Optional Input Parameters
Keyword Parameters
QONLY - No linear term in fit, just constant and quadratic.
CONLY - Guassian and constant only.
FZWID - Freeze the full-width half max to this value.
Outputs
r - the r coordinates for all input pixels.
i - the input image after reordering to match r vector.
Optional Output Parameters
fwhm - Return value of the gaussian fit to the profile, in pixels.
coefs - Fitted function coefficients. (See rgfit.pro)
yfit - Fitted values.
Common Blocks
Side Effects
Restrictions
Procedure
Modification History
92/11/04, Written by Marc W. Buie, Lowell Observatory