Class that contains functions needed for imager. More...
#include <SynthesisNormalizer.h>
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< SIImageStore > | getImageStore () |
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< SIImageStore > | makeImageStore (String imagename) |
SHARED_PTR< SIImageStore > | makeImageStore (String imagename, CoordinateSystem &csys, IPosition shp, Bool useweightimage) |
void | setPsfFromOneFacet () |
Protected Attributes | |
*SHARED_PTR< SIImageStore > | itsImages |
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 |
Class that contains functions needed for imager.
Definition at line 54 of file SynthesisNormalizer.h.
casa::SynthesisNormalizer::SynthesisNormalizer | ( | ) |
Default constructor.
casa::SynthesisNormalizer::~SynthesisNormalizer | ( | ) |
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().
Block<SHARED_PTR<SIImageStore> > casa::SynthesisNormalizer::itsFacetImageStores [protected] |
Definition at line 107 of file SynthesisNormalizer.h.
String casa::SynthesisNormalizer::itsImageName [protected] |
Definition at line 111 of file SynthesisNormalizer.h.
* SHARED_PTR<SIImageStore> casa::SynthesisNormalizer::itsImages [protected] |
Definition at line 105 of file SynthesisNormalizer.h.
IPosition casa::SynthesisNormalizer::itsImageShape [protected] |
Definition at line 109 of file SynthesisNormalizer.h.
String casa::SynthesisNormalizer::itsMapperType [protected] |
Definition at line 116 of file SynthesisNormalizer.h.
uInt casa::SynthesisNormalizer::itsNFacets [protected] |
Definition at line 117 of file SynthesisNormalizer.h.
String casa::SynthesisNormalizer::itsNormType [protected] |
Definition at line 119 of file SynthesisNormalizer.h.
uInt casa::SynthesisNormalizer::itsNTaylorTerms [protected] |
Definition at line 117 of file SynthesisNormalizer.h.
Vector<String> casa::SynthesisNormalizer::itsPartImageNames [protected] |
Definition at line 112 of file SynthesisNormalizer.h.
Vector<SHARED_PTR<SIImageStore> > casa::SynthesisNormalizer::itsPartImages [protected] |
Definition at line 106 of file SynthesisNormalizer.h.
Float casa::SynthesisNormalizer::itsPBLimit [protected] |
Definition at line 114 of file SynthesisNormalizer.h.
String casa::SynthesisNormalizer::itsStartingModelName [protected] |
Definition at line 113 of file SynthesisNormalizer.h.