casa
5.7.0-16
|
Simple mixin class to put SynthesisNormalizer into ParallelImagerMixin framework. More...
#include <SynthesisNormalizerMixin.h>
Public Member Functions | |
void | normalize_psf () |
void | normalize_model () |
void | normalize_residual () |
void | denormalize_model () |
void | reduce_weight_density () |
Protected Member Functions | |
void | setup_normalizer (MPI_Comm comm, std::vector< casacore::Record > &norm_pars) |
void | teardown_normalizer () |
Private Attributes | |
std::vector< std::shared_ptr < SynthesisNormalizer > > | normalizers |
Simple mixin class to put SynthesisNormalizer into ParallelImagerMixin framework.
Definition at line 47 of file SynthesisNormalizerMixin.h.
|
inline |
Definition at line 118 of file SynthesisNormalizerMixin.h.
References casa::SynthesisNormalizerMixin< T >::normalizers.
|
inline |
Definition at line 101 of file SynthesisNormalizerMixin.h.
References casa::SynthesisNormalizerMixin< T >::normalizers.
|
inline |
Definition at line 92 of file SynthesisNormalizerMixin.h.
References casa::SynthesisNormalizerMixin< T >::normalizers.
|
inline |
Definition at line 109 of file SynthesisNormalizerMixin.h.
References casa::SynthesisNormalizerMixin< T >::normalizers.
|
inline |
Definition at line 124 of file SynthesisNormalizerMixin.h.
References casa::SynthesisNormalizerMixin< T >::normalizers.
|
inlineprotected |
Create all normalizer components on rank 0 of comm. TODO: Could we distribute normalizers in a round-robin fashion across processes in comm?
FIXME: check whether we're to remove any files or directories in addition to those provided in "partimagenames", i.e, those with file name extensions
To ensure restarts work correctly, remove existing files.
Definition at line 55 of file SynthesisNormalizerMixin.h.
References casacore::File::isDirectory(), casa::SynthesisNormalizerMixin< T >::normalizers, casacore::RegularFile::remove(), casacore::Directory::removeRecursive(), casa::SynthesisNormalizer::setupNormalizer(), and casa::SynthesisNormalizerMixin< T >::teardown_normalizer().
|
inlineprotected |
Definition at line 86 of file SynthesisNormalizerMixin.h.
References casa::SynthesisNormalizerMixin< T >::normalizers.
Referenced by casa::SynthesisNormalizerMixin< T >::setup_normalizer().
|
private |
Definition at line 51 of file SynthesisNormalizerMixin.h.
Referenced by casa::SynthesisNormalizerMixin< T >::denormalize_model(), casa::SynthesisNormalizerMixin< T >::normalize_model(), casa::SynthesisNormalizerMixin< T >::normalize_psf(), casa::SynthesisNormalizerMixin< T >::normalize_residual(), casa::SynthesisNormalizerMixin< T >::reduce_weight_density(), casa::SynthesisNormalizerMixin< T >::setup_normalizer(), and casa::SynthesisNormalizerMixin< T >::teardown_normalizer().