wfsfind

mmtwfs.wfs.wfsfind(data, fwhm=7.0, threshold=5.0, plot=True, ap_radius=5.0, std=None)[source] [edit on github]

Use photutils.DAOStarFinder() to find and centroid spots in a Shack-Hartmann WFS image.

Parameters
dataFITS filename or 2D ndarray

WFS image

fwhmfloat (default: 5.)

FWHM in pixels of DAOfind convolution kernel

thresholdfloat

DAOfind threshold in units of the standard deviation of the image

plot: bool

Toggle plotting of the reference image and overlayed apertures

ap_radiusfloat

Radius of plotted apertures