ska_sdp_spectral_line_imaging.data_procs.deconvolution.cleaners module

ska_sdp_spectral_line_imaging.data_procs.deconvolution.cleaners.apply_cleaner_with_sensitivity_only(dirty, psf, sensitivity, cleaner, **kwargs)[source]

Applies the clean function with sensitivity only

Parameters:
Returns:

Returns the data products from the clean algorithm

ska_sdp_spectral_line_imaging.data_procs.deconvolution.cleaners.clean_with(cleaner, dirty, psf, window, sensitivity=None, include_sensitivity=True, **kwargs)[source]

Helps to manage parameters for xarray.apply_ufunc

Parameters:
  • cleaner (func) -- cleaner function to be applied

  • dirty (Image) -- Image to be cleaned

  • psf (Image) -- PSF Image

  • window (xarray.DataArray) -- Window image (Bool) - clean where True

  • sensitivity (Image) -- Sensitivity Image

  • include_sensitivity (bool) -- Should sensitivity be included in kwargs

  • **kwargs -- Additional keyword arguments

Returns:

Returns component image and residual image