tkp.sourcefinder.deconv
¶
Gaussian deconvolution.
-
tkp.sourcefinder.deconv.
deconv
(fmaj, fmin, fpa, cmaj, cmin, cpa)[source]¶ Deconvolve a Gaussian “beam” from a Gaussian component.
When we fit an elliptical Gaussian to a point in our image, we are actually fitting to a convolution of the physical shape of the source with the beam pattern of our instrument. This results in the fmaj/fmin/fpa arguments to this function.
Since the shape of the (clean) beam (arguments cmaj/cmin/cpa) is known, we can deconvolve it from the fitted parameters to get the “real” underlying physical source shape, which is what this function returns.
Parameters: Returns: rmaj – Real major axis rmin (float): Real minor axis rpa (float): Real position angle of major axis ierr (int): Number of components which failed to deconvolve
Return type: