casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
casa::SynthesisNormalizerMixin< T > Class Template Reference

Simple mixin class to put SynthesisNormalizer into ParallelImagerMixin framework. More...

#include <SynthesisNormalizerMixin.h>

Inheritance diagram for casa::SynthesisNormalizerMixin< T >:

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
 

Detailed Description

template<class T>
class casa::SynthesisNormalizerMixin< T >

Simple mixin class to put SynthesisNormalizer into ParallelImagerMixin framework.

Definition at line 47 of file SynthesisNormalizerMixin.h.

Member Function Documentation

template<class T >
void casa::SynthesisNormalizerMixin< T >::denormalize_model ( )
inline
template<class T >
void casa::SynthesisNormalizerMixin< T >::normalize_model ( )
inline
template<class T >
void casa::SynthesisNormalizerMixin< T >::normalize_psf ( )
inline
template<class T >
void casa::SynthesisNormalizerMixin< T >::normalize_residual ( )
inline
template<class T >
void casa::SynthesisNormalizerMixin< T >::reduce_weight_density ( )
inline
template<class T >
void casa::SynthesisNormalizerMixin< T >::setup_normalizer ( MPI_Comm  comm,
std::vector< casacore::Record > &  norm_pars 
)
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().

template<class T >
void casa::SynthesisNormalizerMixin< T >::teardown_normalizer ( )
inlineprotected

Member Data Documentation

template<class T >
std::vector< std::shared_ptr<SynthesisNormalizer> > casa::SynthesisNormalizerMixin< T >::normalizers
private

The documentation for this class was generated from the following file: