radplt input x_init y_init
input
the list of images which contain the star whose profile is to be plotted
x_init
the approximate column coordinate as a starting point for the centering
y_init
the approximate line (row) coordinate as a starting point for the centering
cboxsize = 5
the size of the extraction box to be used during the centering process
rboxsize = 21
the size of the extraction box to be used for the radial profile. The
profile will extend to sqrt(2) * rboxsize / 2. This is the length
of the diagonal from the box center to a corner, and corresponds to about
14 pixels for the default value.
Given the approximate coordinates of the center of a star, (x_init, y_init), RADPLT will compute a more accurate center using the algorithms described in the Kitt Peak publication "Stellar Magnitudes from Digital Images" under the Mountain Photometry Code section and then plot the intensity values in the profile extraction box as a function of distance from the center. This is effectively a radial profile.
The values for both box sizes should be odd.
The following example plots the profile of a star near (123, 234): .sp 1 .nj
cl> radplt m92red 123 234.ju
The routine will probably fail if the desired star is within 2 or 3 pixels of the image boundary.
plot.pradprof