mask_sources¶
-
mpdaf.obj.
mask_sources
(image, sigma=3.0, iterations=2, opening_iterations=0, outfile=None, plot=False)[source]¶ Create a mask of sources, using photutils.
Parameters: - image :
Image
orstr
Input image.
- sigma :
int
, optional Number of sigma for the detection threshold.
- iterations :
int
Number of iterations for the binary dilatation.
- opening_iterations :
int
Number of iterations for the binary opening.
- outfile :
str
, optional Output mask filename.
- plot : bool
Plot the image and mask.
- image :