median_fwhm#
- astropop.photometry.median_fwhm(data, x, y, box_size=25, model='gaussian', min_fwhm=3.0)#
Calculate the median FWHM of the image with Gaussian or Moffat fit.
- Parameters:
- data: array_like
2D array containing the image to extract the source.
- x, y: array_like
x, y centroid position.
- box_size: `int` (optional)
Size of the box, in pixels, to fit the model. Default: 25
- model: {`gaussian`, `moffat`}
Choose a Gaussian or Moffat model. Default:
gausiann
- min_fwhm: float
Minimum value for FWHM. Default: 3.0