casa::SynthesisNormalizer Class Reference

Class that contains functions needed for imager. More...

#include <SynthesisNormalizer.h>

List of all members.

Public Member Functions

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

Protected Member Functions

Bool setupImagesOnDisk ()
 Normalize.
Bool doImagesExist (String imagename)
SHARED_PTR< SIImageStoremakeImageStore (String imagename)
SHARED_PTR< SIImageStoremakeImageStore (String imagename, CoordinateSystem &csys, IPosition shp, Bool useweightimage)
void setPsfFromOneFacet ()

Protected Attributes

*SHARED_PTR< SIImageStoreitsImages
Vector< SHARED_PTR
< SIImageStore > > 
itsPartImages
Block< SHARED_PTR< SIImageStore > > itsFacetImageStores
IPosition itsImageShape
String itsImageName
Vector< String > itsPartImageNames
String itsStartingModelName
Float itsPBLimit
String itsMapperType
uInt itsNTaylorTerms
uInt itsNFacets
String itsNormType

Detailed Description

Class that contains functions needed for imager.

Definition at line 54 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 (  ) 
Bool casa::SynthesisNormalizer::doImagesExist ( String  imagename  )  [protected]
void casa::SynthesisNormalizer::gatherImages ( Bool  dopsf,
Bool  doresidual,
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.

SHARED_PTR<SIImageStore> casa::SynthesisNormalizer::getImageStore (  ) 
SHARED_PTR<SIImageStore> casa::SynthesisNormalizer::makeImageStore ( String  imagename,
CoordinateSystem &  csys,
IPosition  shp,
Bool  useweightimage 
) [protected]
SHARED_PTR<SIImageStore> casa::SynthesisNormalizer::makeImageStore ( String  imagename  )  [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]
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 ( Record  normpars  ) 

Copy constructor and assignment operator.

make all pure-inputs const

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


Member Data Documentation

Definition at line 107 of file SynthesisNormalizer.h.

Definition at line 111 of file SynthesisNormalizer.h.

Definition at line 105 of file SynthesisNormalizer.h.

Definition at line 109 of file SynthesisNormalizer.h.

Definition at line 116 of file SynthesisNormalizer.h.

Definition at line 117 of file SynthesisNormalizer.h.

Definition at line 119 of file SynthesisNormalizer.h.

Definition at line 117 of file SynthesisNormalizer.h.

Definition at line 112 of file SynthesisNormalizer.h.

Vector<SHARED_PTR<SIImageStore> > casa::SynthesisNormalizer::itsPartImages [protected]

Definition at line 106 of file SynthesisNormalizer.h.

Definition at line 114 of file SynthesisNormalizer.h.

Definition at line 113 of file SynthesisNormalizer.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1