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

Forward declarations. More...

#include <SynthesisNormalizer.h>

Public Member Functions

 SynthesisNormalizer ()
 Default constructor. More...
 
 ~SynthesisNormalizer ()
 
void setupNormalizer (casacore::Record normpars)
 Copy constructor and assignment operator. More...
 
void gatherImages (casacore::Bool dopsf, casacore::Bool doresidual, casacore::Bool dodensity)
 Gather all part images to the 'full' one. More...
 
void gatherPB ()
 'Gather' the pb (just one node makes it..) More...
 
void scatterModel ()
 Copy out model to all pieces. More...
 
void gatherWeightDensity ()
 Gather all part gridded weights and add them up. More...
 
void scatterWeightDensity ()
 Scatter summed gridded weights to all parts. More...
 
std::shared_ptr< SIImageStoregetImageStore ()
 
void setImageStore (SIImageStore *imstore)
 
void divideResidualByWeight ()
 
void dividePSFByWeight ()
 
void divideModelByWeight ()
 
void multiplyModelByWeight ()
 
void normalizePrimaryBeam ()
 

Protected Member Functions

casacore::Bool setupImagesOnDisk ()
 Normalize. More...
 
casacore::Bool doImagesExist (casacore::String imagename)
 
std::shared_ptr< SIImageStoremakeImageStore (const casacore::String &imagename)
 
std::shared_ptr< SIImageStoremakeImageStore (const casacore::String &imagename, const casacore::PagedImage< casacore::Float > &part, casacore::Bool useweightimage)
 
void setPsfFromOneFacet ()
 

Protected Attributes

*std::shared_ptr< SIImageStoreitsImages
 
casacore::Vector
< std::shared_ptr
< SIImageStore > > 
itsPartImages
 
casacore::Block
< std::shared_ptr
< SIImageStore > > 
itsFacetImageStores
 
casacore::IPosition itsImageShape
 
casacore::String itsImageName
 
casacore::Vector
< casacore::String
itsPartImageNames
 
casacore::String itsStartingModelName
 
casacore::Float itsPBLimit
 
casacore::String itsMapperType
 
casacore::uInt itsNTaylorTerms
 
casacore::uInt itsNFacets
 
casacore::String itsNormType
 
casacore::String itsUseBeam
 

Detailed Description

Forward declarations.

Class that contains functions needed for imager

Definition at line 58 of file SynthesisNormalizer.h.

Constructor & Destructor Documentation

casa::SynthesisNormalizer::SynthesisNormalizer ( )

Default constructor.

casa::SynthesisNormalizer::~SynthesisNormalizer ( )

Member Function Documentation

void casa::SynthesisNormalizer::divideModelByWeight ( )
void casa::SynthesisNormalizer::dividePSFByWeight ( )
void casa::SynthesisNormalizer::divideResidualByWeight ( )
casacore::Bool casa::SynthesisNormalizer::doImagesExist ( casacore::String  imagename)
protected
void casa::SynthesisNormalizer::gatherImages ( casacore::Bool  dopsf,
casacore::Bool  doresidual,
casacore::Bool  dodensity 
)

Gather all part images to the 'full' one.

void casa::SynthesisNormalizer::gatherPB ( )

'Gather' the pb (just one node makes it..)

void casa::SynthesisNormalizer::gatherWeightDensity ( )

Gather all part gridded weights and add them up.

std::shared_ptr<SIImageStore> casa::SynthesisNormalizer::getImageStore ( )
std::shared_ptr<SIImageStore> casa::SynthesisNormalizer::makeImageStore ( const casacore::String imagename)
protected
std::shared_ptr<SIImageStore> casa::SynthesisNormalizer::makeImageStore ( const casacore::String imagename,
const casacore::PagedImage< casacore::Float > &  part,
casacore::Bool  useweightimage 
)
protected
void casa::SynthesisNormalizer::multiplyModelByWeight ( )
void casa::SynthesisNormalizer::normalizePrimaryBeam ( )
void casa::SynthesisNormalizer::scatterModel ( )

Copy out model to all pieces.

Currently a No-Op.

void casa::SynthesisNormalizer::scatterWeightDensity ( )

Scatter summed gridded weights to all parts.

void casa::SynthesisNormalizer::setImageStore ( SIImageStore imstore)
void casa::SynthesisNormalizer::setPsfFromOneFacet ( )
protected
casacore::Bool casa::SynthesisNormalizer::setupImagesOnDisk ( )
protected

Normalize.

This can later change to be more general, i.e. used for PB-correction too... Check if images exist on disk and are all the same shape

void casa::SynthesisNormalizer::setupNormalizer ( casacore::Record  normpars)

Copy constructor and assignment operator.

make all pure-inputs const

Referenced by casa::SynthesisNormalizerMixin< T >::setup_normalizer().

Member Data Documentation

casacore::Block<std::shared_ptr<SIImageStore> > casa::SynthesisNormalizer::itsFacetImageStores
protected

Definition at line 113 of file SynthesisNormalizer.h.

casacore::String casa::SynthesisNormalizer::itsImageName
protected

Definition at line 117 of file SynthesisNormalizer.h.

* std::shared_ptr<SIImageStore> casa::SynthesisNormalizer::itsImages
protected

Definition at line 111 of file SynthesisNormalizer.h.

casacore::IPosition casa::SynthesisNormalizer::itsImageShape
protected

Definition at line 115 of file SynthesisNormalizer.h.

casacore::String casa::SynthesisNormalizer::itsMapperType
protected

Definition at line 122 of file SynthesisNormalizer.h.

casacore::uInt casa::SynthesisNormalizer::itsNFacets
protected

Definition at line 123 of file SynthesisNormalizer.h.

casacore::String casa::SynthesisNormalizer::itsNormType
protected

Definition at line 125 of file SynthesisNormalizer.h.

casacore::uInt casa::SynthesisNormalizer::itsNTaylorTerms
protected

Definition at line 123 of file SynthesisNormalizer.h.

casacore::Vector<casacore::String> casa::SynthesisNormalizer::itsPartImageNames
protected

Definition at line 118 of file SynthesisNormalizer.h.

casacore::Vector<std::shared_ptr<SIImageStore> > casa::SynthesisNormalizer::itsPartImages
protected

Definition at line 112 of file SynthesisNormalizer.h.

casacore::Float casa::SynthesisNormalizer::itsPBLimit
protected

Definition at line 120 of file SynthesisNormalizer.h.

casacore::String casa::SynthesisNormalizer::itsStartingModelName
protected

Definition at line 119 of file SynthesisNormalizer.h.

casacore::String casa::SynthesisNormalizer::itsUseBeam
protected

Definition at line 127 of file SynthesisNormalizer.h.


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