Radler
-
class Radler
Main interfacing class of the Radio Astronomical Deconvolution Library.
Public Functions
-
Radler(const Settings &settings, const aocommon::Image &psf_image, aocommon::Image &residual_image, aocommon::Image &model_image, double beam_size, aocommon::PolarizationEnum polarization = aocommon::PolarizationEnum::StokesI, std::ostream &log_stream = std::cout)
Constructor for single channel, single polarization deconvolution.
Bear in mind to keep the data buffer in the input images alive in the caller, since Radler internally points to this data buffer during calls to
Perform.- Parameters:
psf_image – [in] PSF image.
residual_image – [inout] Residual image.
model_image – [inout] Model image.
-
const algorithms::DeconvolutionAlgorithm &MaxScaleCountAlgorithm() const
Exposes a const reference to either the first algorithm, or - in case of a multiscale clean - the algorithm with the maximum number of scale counts.
-
void Perform(bool &another_iteration_required, size_t major_iteration_number)
- Parameters:
another_iteration_required – [out] on exit, indicates whether another major iteration should be run. If
true, the caller should do a new prediction-gridding iteration to calculate a new residual image, after which thePerform()function should be called again. Iffalseon exit, the algorithm is finished and the caller can do its last prediction-gridding round.major_iteration_number – Major loop number (1-based), should be >= 1.
-
size_t IterationNumber() const
Return IterationNumber of the underlying
DeconvolutionAlgorithm.
-
Radler(const Settings &settings, const aocommon::Image &psf_image, aocommon::Image &residual_image, aocommon::Image &model_image, double beam_size, aocommon::PolarizationEnum polarization = aocommon::PolarizationEnum::StokesI, std::ostream &log_stream = std::cout)