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::SIImageStoreMultiTerm Class Reference

#include <SIImageStoreMultiTerm.h>

Inheritance diagram for casa::SIImageStoreMultiTerm:
casa::SIImageStore

Public Member Functions

 SIImageStoreMultiTerm ()
 Default constructor. More...
 
 SIImageStoreMultiTerm (const casacore::String &imagename, casacore::uInt ntaylorterms=1, const casacore::Bool ignorefacets=false)
 
 SIImageStoreMultiTerm (const casacore::String &imagename, const casacore::CoordinateSystem &imcoordsys, const casacore::IPosition &imshape, const casacore::String &objectname, const casacore::Record &miscinfo, const int nfacets, const casacore::Bool overwrite=false, casacore::uInt ntaylorterms=1, casacore::Bool useweightimage=false)
 
 SIImageStoreMultiTerm (const casacore::Block< std::shared_ptr< casacore::ImageInterface< casacore::Float > > > &modelims, const casacore::Block< std::shared_ptr< casacore::ImageInterface< casacore::Float > > > &residims, const casacore::Block< std::shared_ptr< casacore::ImageInterface< casacore::Float > > > &psfims, const casacore::Block< std::shared_ptr< casacore::ImageInterface< casacore::Float > > > &weightims, const casacore::Block< std::shared_ptr< casacore::ImageInterface< casacore::Float > > > &restoredims, const casacore::Block< std::shared_ptr< casacore::ImageInterface< casacore::Float > > > &sumwtims, const casacore::Block< std::shared_ptr< casacore::ImageInterface< float > > > &pbims, const casacore::Block< std::shared_ptr< casacore::ImageInterface< float > > > &restoredpbcorims, const std::shared_ptr< casacore::ImageInterface< casacore::Float > > &newmask, const std::shared_ptr< casacore::ImageInterface< casacore::Float > > &newalpha, const std::shared_ptr< casacore::ImageInterface< casacore::Float > > &newbeta, const std::shared_ptr< casacore::ImageInterface< casacore::Float > > &newalphaerror, const std::shared_ptr< casacore::ImageInterface< float > > &newalphapbcor, const std::shared_ptr< casacore::ImageInterface< float > > &newbetapbcor, const casacore::CoordinateSystem &csys, const casacore::IPosition &imshape, const casacore::String &imagename, const casacore::String &objectname, const casacore::Record &miscinfo, const casacore::Int facet=0, const casacore::Int nfacets=1, const casacore::Int chan=0, const casacore::Int nchanchunks=1, const casacore::Int pol=0, const casacore::Int npolchunks=1)
 
virtual void init ()
 
virtual ~SIImageStoreMultiTerm ()
 
virtual casacore::String getType ()
 
virtual std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
psf (casacore::uInt term=0)
 
virtual std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
residual (casacore::uInt term=0)
 
virtual std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
weight (casacore::uInt term=0)
 
virtual std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
model (casacore::uInt term=0)
 
virtual std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
image (casacore::uInt term=0)
 
virtual std::shared_ptr
< casacore::ImageInterface
< float > > 
pb (casacore::uInt term=0)
 
virtual std::shared_ptr
< casacore::ImageInterface
< float > > 
imagepbcor (casacore::uInt term=0)
 
virtual std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
sumwt (casacore::uInt term=0)
 
virtual std::shared_ptr
< casacore::ImageInterface
< casacore::Complex > > 
forwardGrid (casacore::uInt term=0)
 virtual std::shared_ptr<casacore::ImageInterface<casacore::Float> > mask(casacore::uInt term=0); // take from base class. More...
 
virtual std::shared_ptr
< casacore::ImageInterface
< casacore::Complex > > 
backwardGrid (casacore::uInt term=0)
 
virtual std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
alpha ()
 
virtual std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
beta ()
 
virtual std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
alphaerror ()
 
virtual std::shared_ptr
< casacore::ImageInterface
< float > > 
alphapbcor ()
 
virtual std::shared_ptr
< casacore::ImageInterface
< float > > 
betapbcor ()
 
void setModelImage (casacore::Vector< casacore::String > modelnames)
 virtual std::shared_ptr<casacore::ImageInterface<casacore::Float> > gridwt(casacore::uInt term=0); More...
 
casacore::Vector
< casacore::String
getModelImageName ()
 
casacore::Bool doesImageExist (casacore::String imagename)
 
void resetImages (casacore::Bool resetpsf, casacore::Bool resetresidual, casacore::Bool resetweight)
 
void addImages (std::shared_ptr< SIImageStore > imagestoadd, casacore::Bool addpsf, casacore::Bool addresidual, casacore::Bool addweight, casacore::Bool adddensity)
 
void dividePSFByWeight (const casacore::Float pblimit=casacore::C::minfloat)
 
void normalizePrimaryBeam (const float pblimit=casacore::C::minfloat)
 
void divideResidualByWeight (const casacore::Float pblimit=casacore::C::minfloat, const casacore::String normtype="flatnoise")
 
void divideModelByWeight (const casacore::Float pblimit=casacore::C::minfloat, const casacore::String normtype="flatnoise")
 void divideSensitivityPatternByWeight(); More...
 
void multiplyModelByWeight (const casacore::Float pblimit=casacore::C::minfloat, const casacore::String normtype="flatnoise")
 
casacore::Bool releaseLocks ()
 Other. More...
 
casacore::Bool releaseComplexGrids ()
 
virtual casacore::Double getReferenceFrequency ()
 
casacore::uInt getNTaylorTerms (casacore::Bool dopsf=false)
 
void restore (casacore::GaussianBeam &rbeam, casacore::String &usebeam, casacore::uInt term=0)
 virtual casacore::GaussianBeam restorePlane(); More...
 
void calculateAlphaBeta (casacore::String imtype)
 
void pbcor ()
 
std::shared_ptr< SIImageStoregetSubImageStore (const casacore::Int facet=0, const casacore::Int nfacets=1, const casacore::Int chan=0, const casacore::Int nchanchunks=1, const casacore::Int pol=0, const casacore::Int npolchunks=1)
 The images internall will reference back to a given section of the main of this. More...
 
virtual casacore::Bool hasSensitivity ()
 
virtual casacore::Bool hasModel ()
 virtual casacore::Bool hasModel() {return itsModels.nelements()>0 && itsModels[0];} More...
 
virtual casacore::Bool hasPsf ()
 
virtual casacore::Bool hasResidual ()
 virtual casacore::Bool hasPsfImage() {return doesImageExist(itsImageName+imageExts(PSF));} More...
 
virtual casacore::Bool hasSumWt ()
 
virtual bool hasResidualImage ()
 virtual Bool hasSensitivity() {return doesImageExist(itsImageName+imageExts(WEIGHT)+String(".tt0"));} virtual Bool hasModel() {return doesImageExist(itsImageName+imageExts(MODEL)+String(".tt0"));} virtual Bool hasMask() {return doesImageExist(itsImageName+imageExts(MASK)+String(".tt0"));} virtual Bool hasPsf() {return doesImageExist(itsImageName+imageExts(PSF)+String(".tt0"));} More...
 
virtual bool hasRestored ()
 virtual Bool hasSumWt() {return doesImageExist(itsImageName+imageExts(SUMWT)+String(".tt0"));} More...
 
virtual bool hasPB ()
 virtual casacore::Bool hasSensitivity(){return doesImageExist(itsImageName+imageExts(WEIGHT));} More...
 
void calcSensitivity ()
 {return (itsParentSumWts.nelements()==0 || itsParentSumWts[0].null()) ? false : getUseWeightImage(*(itsParentSumWts[0])); }; More...
 
virtual casacore::Bool isModelEmpty ()
 
casacore::Double calcFractionalBandwidth ()
 
- Public Member Functions inherited from casa::SIImageStore
 SIImageStore ()
 Default constructor. More...
 
 SIImageStore (const casacore::String &imagename, const casacore::Bool ignorefacets=casacore::False)
 
 SIImageStore (const casacore::String &imagename, const casacore::CoordinateSystem &imcoordsys, const casacore::IPosition &imshape, const casacore::String &objectname, const casacore::Record &miscinfo, const casacore::Bool overwrite=casacore::False, const casacore::Bool useweightimage=casacore::False)
 
 SIImageStore (const std::shared_ptr< casacore::ImageInterface< casacore::Float > > &modelim, const std::shared_ptr< casacore::ImageInterface< casacore::Float > > &residim, const std::shared_ptr< casacore::ImageInterface< casacore::Float > > &psfim, const std::shared_ptr< casacore::ImageInterface< casacore::Float > > &weightim, const std::shared_ptr< casacore::ImageInterface< casacore::Float > > &restoredim, const std::shared_ptr< casacore::ImageInterface< casacore::Float > > &maskim, const std::shared_ptr< casacore::ImageInterface< casacore::Float > > &sumwtim, const std::shared_ptr< casacore::ImageInterface< casacore::Float > > &gridwtim, const std::shared_ptr< casacore::ImageInterface< casacore::Float > > &pbim, const std::shared_ptr< casacore::ImageInterface< casacore::Float > > &restoredpbcorim, const casacore::CoordinateSystem &csys, const casacore::IPosition &imshape, const casacore::String &imagename, const casacore::String &objectname, const casacore::Record &miscinfo, const casacore::Int facet=0, const casacore::Int nfacets=1, const casacore::Int chan=0, const casacore::Int nchanchunks=1, const casacore::Int pol=0, const casacore::Int npolchunks=1, const casacore::Bool useweightimage=casacore::False)
 
virtual ~SIImageStore ()
 
casacore::IPosition getShape ()
 
casacore::String getName ()
 
virtual std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
mask (casacore::uInt term=0)
 
virtual std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
gridwt (casacore::IPosition newshape=casacore::IPosition(0))
 Gridwgt is for weight density sharing (Brigg's) thus only term 0 is done. More...
 
virtual void setModelImageOne (casacore::String modelname, casacore::Int nterm=-1)
 
virtual void setWeightDensity (std::shared_ptr< SIImageStore > imagetoset)
 
void setObjectName (const casacore::String)
 
void setMiscInfo (const casacore::Record miscinfo)
 
void releaseImage (std::shared_ptr< casacore::ImageInterface< casacore::Float > > &im)
 
void releaseImage (std::shared_ptr< casacore::ImageInterface< casacore::Complex > > &im)
 
casacore::GaussianBeam getPSFGaussian ()
 
virtual void pbcor (casacore::uInt term)
 
virtual void makeImageBeamSet ()
 
casacore::ImageBeamSet getBeamSet ()
 
virtual void printBeamSet (casacore::Bool verbose=casacore::False)
 
casacore::GaussianBeam findGoodBeam ()
 
void lineFit (casacore::Vector< casacore::Float > &data, casacore::Vector< casacore::Bool > &flag, casacore::Vector< casacore::Float > &fit, casacore::uInt lim1, casacore::uInt lim2)
 
casacore::Float calcMean (casacore::Vector< casacore::Float > &vect, casacore::Vector< casacore::Bool > &flag)
 
casacore::Float calcStd (casacore::Vector< casacore::Float > &vect, casacore::Vector< casacore::Bool > &flag, casacore::Vector< casacore::Float > &fit)
 
casacore::Float calcStd (casacore::Vector< casacore::Float > &vect, casacore::Vector< casacore::Bool > &flag, casacore::Float mean)
 
casacore::Bool getUseWeightImage (casacore::ImageInterface< casacore::Float > &target)
 
virtual casacore::Bool hasMask ()
 virtual casacore::Bool hasPB(){return (bool) itsPB;} More...
 
casacore::Float getPeakResidual ()
 Image Statistics.... More...
 
casacore::Float getPeakResidualWithinMask ()
 
casacore::Float getModelFlux (casacore::uInt term=0)
 
casacore::Float getPSFSidelobeLevel ()
 
void findMinMax (const casacore::Array< casacore::Float > &lattice, const casacore::Array< casacore::Float > &mask, casacore::Float &minVal, casacore::Float &maxVal, casacore::Float &minValMask, casacore::Float &maxValMask)
 
virtual casacore::Array
< casacore::Double
calcRobustRMS (casacore::Array< casacore::Double > &mdns, const casacore::Float pbmasklevel=0.0, const casacore::Bool fastcalc=true)
 
casacore::Float getMaskSum ()
 
void makePersistent (casacore::String &fileName)
 
More...
 
void recreate (casacore::String &fileName)
 
void validate ()
 
void setDataPolFrame (StokesImageUtil::PolRep datapolrep)
 
casacore::CoordinateSystem getCSys ()
 
virtual casacore::Long estimateRAM ()
 estimate of Memory to be used by the images held in KiloBytes More...
 

Protected Member Functions

virtual void printImageStats ()
 
- Protected Member Functions inherited from casa::SIImageStore
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
makeSubImage (const casacore::Int facet, const casacore::Int nfacets, const casacore::Int chan, const casacore::Int nchanchunks, const casacore::Int pol, const casacore::Int npolchunks, casacore::ImageInterface< casacore::Float > &image)
 
casacore::Double memoryBeforeLattice ()
 
casacore::IPosition tileShape ()
 
void regridToModelImage (casacore::ImageInterface< casacore::Float > &inputimage, casacore::Int term=0)
 
casacore::Matrix< casacore::FloatgetSumWt (casacore::ImageInterface< casacore::Float > &target)
 
void setSumWt (casacore::ImageInterface< casacore::Float > &target, casacore::Matrix< casacore::Float > &sumwt)
 
void setUseWeightImage (casacore::ImageInterface< casacore::Float > &target, casacore::Bool useweightimage)
 
void fillSumWt (casacore::Int term=0)
 
casacore::Bool divideImageByWeightVal (casacore::ImageInterface< casacore::Float > &target)
 
void normPSF (casacore::Int term=0)
 
void makePBFromWeight (const casacore::Float pblimit)
 
void makePBImage (const casacore::Float pblimit)
 
void accessImage (std::shared_ptr< casacore::ImageInterface< casacore::Float > > &ptr, std::shared_ptr< casacore::ImageInterface< casacore::Float > > &parentptr, const casacore::String label)
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
openImage (const casacore::String imagenamefull, const casacore::Bool overwrite, const casacore::Bool dosumwt=casacore::False, const casacore::Int nfacetsperside=1, const casacore::Bool checkCoord=casacore::True)
 
void buildImage (std::shared_ptr< casacore::ImageInterface< casacore::Float > > &imptr, casacore::IPosition shape, casacore::CoordinateSystem csys, const casacore::String name)
 
void buildImage (std::shared_ptr< casacore::ImageInterface< casacore::Float > > &imptr, const casacore::String name)
 
casacore::Double getPbMax ()
 
casacore::Double getPbMax (casacore::Int pol, casacore::Int chan)
 
casacore::Bool createMask (casacore::LatticeExpr< casacore::Bool > &lemask, casacore::CountedPtr< casacore::ImageInterface< casacore::Float > >outimage)
 
casacore::Bool copyMask (casacore::CountedPtr< casacore::ImageInterface< casacore::Float > >inimage, casacore::CountedPtr< casacore::ImageInterface< casacore::Float > >outimage)
 
void removeMask (casacore::CountedPtr< casacore::ImageInterface< casacore::Float > >im)
 
void rescaleResolution (casacore::Int chan, casacore::ImageInterface< casacore::Float > &subResidual, const casacore::GaussianBeam &newbeam, const casacore::GaussianBeam &oldbeam)
 
casacore::Bool findMinMaxLattice (const casacore::Lattice< casacore::Float > &lattice, const casacore::Lattice< casacore::Float > &mask, const casacore::Lattice< casacore::Bool > &pixmask, casacore::Float &maxAbs, casacore::Float &maxAbsMask, casacore::Float &minAbs, casacore::Float &minAbsMask)
 

Private Attributes

casacore::uInt itsNTerms
 
casacore::Block
< std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > > 
itsPsfs
 
casacore::Block
< std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > > 
itsModels
 
casacore::Block
< std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > > 
itsResiduals
 
casacore::Block
< std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > > 
itsWeights
 
casacore::Block
< std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > > 
itsImages
 
casacore::Block
< std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > > 
itsSumWts
 
casacore::Block
< std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > > 
itsImagePBcors
 
casacore::Block
< std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > > 
itsPBs
 
casacore::Block
< std::shared_ptr
< casacore::ImageInterface
< casacore::Complex > > > 
itsForwardGrids
 
casacore::Block
< std::shared_ptr
< casacore::ImageInterface
< casacore::Complex > > > 
itsBackwardGrids
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsAlpha
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsBeta
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsAlphaError
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsAlphaPBcor
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsBetaPBcor
 
casacore::Block
< std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > > 
itsParentPsfs
 
casacore::Block
< std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > > 
itsParentModels
 
casacore::Block
< std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > > 
itsParentResiduals
 
casacore::Block
< std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > > 
itsParentWeights
 
casacore::Block
< std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > > 
itsParentImages
 
casacore::Block
< std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > > 
itsParentSumWts
 
casacore::Block
< std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > > 
itsParentPBs
 
casacore::Block
< std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > > 
itsParentImagePBcors
 

Additional Inherited Members

- Public Types inherited from casa::SIImageStore
enum  IMAGE_IDS {
  MASK,
  PSF,
  MODEL,
  RESIDUAL,
  WEIGHT,
  IMAGE,
  SUMWT,
  GRIDWT,
  PB,
  FORWARDGRID,
  BACKWARDGRID,
  IMAGEPBCOR,
  MAX_IMAGE_IDS
}
 
- Protected Attributes inherited from casa::SIImageStore
*casacore::IPosition itsImageShape
 
*casacore::IPosition itsParentImageShape
 
casacore::String itsImageName
 
casacore::CoordinateSystem itsCoordSys
 
casacore::CoordinateSystem itsParentCoordSys
 
casacore::Bool itsOverWrite
 
casacore::Bool itsUseWeight
 
casacore::String itsObjectName
 
casacore::Record itsMiscInfo
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsMask
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsParentMask
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsGridWt
 
casacore::Double itsPBScaleFactor
 
casacore::Int itsNFacets
 
casacore::Int itsFacetId
 
casacore::Int itsNChanChunks
 
casacore::Int itsChanId
 
casacore::Int itsNPolChunks
 
casacore::Int itsPolId
 
StokesImageUtil::PolRep itsDataPolRep
 
casacore::ImageBeamSet itsPSFBeams
 
casacore::ImageBeamSet itsRestoredBeams
 
casacore::Float itsPSFSideLobeLevel
 
casacore::Vector
< casacore::String
imageExts
 

Non-persistent internal variables More...

 
casacore::Int itsOpened
 

Detailed Description

Definition at line 50 of file SIImageStoreMultiTerm.h.

Constructor & Destructor Documentation

casa::SIImageStoreMultiTerm::SIImageStoreMultiTerm ( )

Default constructor.

casa::SIImageStoreMultiTerm::SIImageStoreMultiTerm ( const casacore::String imagename,
casacore::uInt  ntaylorterms = 1,
const casacore::Bool  ignorefacets = false 
)
casa::SIImageStoreMultiTerm::SIImageStoreMultiTerm ( const casacore::String imagename,
const casacore::CoordinateSystem imcoordsys,
const casacore::IPosition imshape,
const casacore::String objectname,
const casacore::Record miscinfo,
const int  nfacets,
const casacore::Bool  overwrite = false,
casacore::uInt  ntaylorterms = 1,
casacore::Bool  useweightimage = false 
)
casa::SIImageStoreMultiTerm::SIImageStoreMultiTerm ( const casacore::Block< std::shared_ptr< casacore::ImageInterface< casacore::Float > > > &  modelims,
const casacore::Block< std::shared_ptr< casacore::ImageInterface< casacore::Float > > > &  residims,
const casacore::Block< std::shared_ptr< casacore::ImageInterface< casacore::Float > > > &  psfims,
const casacore::Block< std::shared_ptr< casacore::ImageInterface< casacore::Float > > > &  weightims,
const casacore::Block< std::shared_ptr< casacore::ImageInterface< casacore::Float > > > &  restoredims,
const casacore::Block< std::shared_ptr< casacore::ImageInterface< casacore::Float > > > &  sumwtims,
const casacore::Block< std::shared_ptr< casacore::ImageInterface< float > > > &  pbims,
const casacore::Block< std::shared_ptr< casacore::ImageInterface< float > > > &  restoredpbcorims,
const std::shared_ptr< casacore::ImageInterface< casacore::Float > > &  newmask,
const std::shared_ptr< casacore::ImageInterface< casacore::Float > > &  newalpha,
const std::shared_ptr< casacore::ImageInterface< casacore::Float > > &  newbeta,
const std::shared_ptr< casacore::ImageInterface< casacore::Float > > &  newalphaerror,
const std::shared_ptr< casacore::ImageInterface< float > > &  newalphapbcor,
const std::shared_ptr< casacore::ImageInterface< float > > &  newbetapbcor,
const casacore::CoordinateSystem csys,
const casacore::IPosition imshape,
const casacore::String imagename,
const casacore::String objectname,
const casacore::Record miscinfo,
const casacore::Int  facet = 0,
const casacore::Int  nfacets = 1,
const casacore::Int  chan = 0,
const casacore::Int  nchanchunks = 1,
const casacore::Int  pol = 0,
const casacore::Int  npolchunks = 1 
)
virtual casa::SIImageStoreMultiTerm::~SIImageStoreMultiTerm ( )
virtual

Member Function Documentation

void casa::SIImageStoreMultiTerm::addImages ( std::shared_ptr< SIImageStore imagestoadd,
casacore::Bool  addpsf,
casacore::Bool  addresidual,
casacore::Bool  addweight,
casacore::Bool  adddensity 
)
virtual

Reimplemented from casa::SIImageStore.

virtual std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStoreMultiTerm::alpha ( )
virtual

Reimplemented from casa::SIImageStore.

virtual std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStoreMultiTerm::alphaerror ( )
virtual
virtual std::shared_ptr<casacore::ImageInterface<float> > casa::SIImageStoreMultiTerm::alphapbcor ( )
virtual
virtual std::shared_ptr<casacore::ImageInterface<casacore::Complex> > casa::SIImageStoreMultiTerm::backwardGrid ( casacore::uInt  term = 0)
virtual

Reimplemented from casa::SIImageStore.

virtual std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStoreMultiTerm::beta ( )
virtual

Reimplemented from casa::SIImageStore.

virtual std::shared_ptr<casacore::ImageInterface<float> > casa::SIImageStoreMultiTerm::betapbcor ( )
virtual
casacore::Double casa::SIImageStoreMultiTerm::calcFractionalBandwidth ( )
void casa::SIImageStoreMultiTerm::calcSensitivity ( )
virtual

{return (itsParentSumWts.nelements()==0 || itsParentSumWts[0].null()) ? false : getUseWeightImage(*(itsParentSumWts[0])); };

Reimplemented from casa::SIImageStore.

void casa::SIImageStoreMultiTerm::calculateAlphaBeta ( casacore::String  imtype)
void casa::SIImageStoreMultiTerm::divideModelByWeight ( const casacore::Float  pblimit = casacore::C::minfloat,
const casacore::String  normtype = "flatnoise" 
)
virtual

void divideSensitivityPatternByWeight();

Reimplemented from casa::SIImageStore.

void casa::SIImageStoreMultiTerm::dividePSFByWeight ( const casacore::Float  pblimit = casacore::C::minfloat)
virtual

Reimplemented from casa::SIImageStore.

void casa::SIImageStoreMultiTerm::divideResidualByWeight ( const casacore::Float  pblimit = casacore::C::minfloat,
const casacore::String  normtype = "flatnoise" 
)
virtual

Reimplemented from casa::SIImageStore.

casacore::Bool casa::SIImageStoreMultiTerm::doesImageExist ( casacore::String  imagename)
virtual

Reimplemented from casa::SIImageStore.

Referenced by hasModel(), hasPB(), hasResidualImage(), and hasRestored().

virtual std::shared_ptr<casacore::ImageInterface<casacore::Complex> > casa::SIImageStoreMultiTerm::forwardGrid ( casacore::uInt  term = 0)
virtual

virtual std::shared_ptr<casacore::ImageInterface<casacore::Float> > mask(casacore::uInt term=0); // take from base class.

Reimplemented from casa::SIImageStore.

casacore::Vector<casacore::String> casa::SIImageStoreMultiTerm::getModelImageName ( )
virtual

Reimplemented from casa::SIImageStore.

casacore::uInt casa::SIImageStoreMultiTerm::getNTaylorTerms ( casacore::Bool  dopsf = false)
virtual

Reimplemented from casa::SIImageStore.

virtual casacore::Double casa::SIImageStoreMultiTerm::getReferenceFrequency ( )
virtual

Reimplemented from casa::SIImageStore.

std::shared_ptr<SIImageStore> casa::SIImageStoreMultiTerm::getSubImageStore ( const casacore::Int  facet = 0,
const casacore::Int  nfacets = 1,
const casacore::Int  chan = 0,
const casacore::Int  nchanchunks = 1,
const casacore::Int  pol = 0,
const casacore::Int  npolchunks = 1 
)
virtual

The images internall will reference back to a given section of the main of this.

nfacets = nx_facets*ny_facets...assumption has been made nx_facets==ny_facets

Reimplemented from casa::SIImageStore.

virtual casacore::String casa::SIImageStoreMultiTerm::getType ( )
inlinevirtual

Reimplemented from casa::SIImageStore.

Definition at line 107 of file SIImageStoreMultiTerm.h.

virtual casacore::Bool casa::SIImageStoreMultiTerm::hasModel ( )
inlinevirtual
virtual bool casa::SIImageStoreMultiTerm::hasPB ( )
inlinevirtual

virtual casacore::Bool hasSensitivity(){return doesImageExist(itsImageName+imageExts(WEIGHT));}

Reimplemented from casa::SIImageStore.

Definition at line 189 of file SIImageStoreMultiTerm.h.

References doesImageExist(), casa::SIImageStore::imageExts, casa::SIImageStore::itsImageName, and casa::SIImageStore::PB.

virtual casacore::Bool casa::SIImageStoreMultiTerm::hasPsf ( )
inlinevirtual

Reimplemented from casa::SIImageStore.

Definition at line 177 of file SIImageStoreMultiTerm.h.

References itsPsfs.

virtual casacore::Bool casa::SIImageStoreMultiTerm::hasResidual ( )
inlinevirtual

virtual casacore::Bool hasPsfImage() {return doesImageExist(itsImageName+imageExts(PSF));}

Reimplemented from casa::SIImageStore.

Definition at line 178 of file SIImageStoreMultiTerm.h.

References itsResiduals.

virtual bool casa::SIImageStoreMultiTerm::hasResidualImage ( )
inlinevirtual

virtual Bool hasSensitivity() {return doesImageExist(itsImageName+imageExts(WEIGHT)+String(".tt0"));} virtual Bool hasModel() {return doesImageExist(itsImageName+imageExts(MODEL)+String(".tt0"));} virtual Bool hasMask() {return doesImageExist(itsImageName+imageExts(MASK)+String(".tt0"));} virtual Bool hasPsf() {return doesImageExist(itsImageName+imageExts(PSF)+String(".tt0"));}

Reimplemented from casa::SIImageStore.

Definition at line 186 of file SIImageStoreMultiTerm.h.

References doesImageExist(), casa::SIImageStore::imageExts, casa::SIImageStore::itsImageName, and casa::SIImageStore::RESIDUAL.

virtual bool casa::SIImageStoreMultiTerm::hasRestored ( )
inlinevirtual

virtual Bool hasSumWt() {return doesImageExist(itsImageName+imageExts(SUMWT)+String(".tt0"));}

Reimplemented from casa::SIImageStore.

Definition at line 188 of file SIImageStoreMultiTerm.h.

References doesImageExist(), casa::SIImageStore::IMAGE, casa::SIImageStore::imageExts, and casa::SIImageStore::itsImageName.

virtual casacore::Bool casa::SIImageStoreMultiTerm::hasSensitivity ( )
inlinevirtual

Reimplemented from casa::SIImageStore.

Definition at line 174 of file SIImageStoreMultiTerm.h.

References itsWeights.

virtual casacore::Bool casa::SIImageStoreMultiTerm::hasSumWt ( )
inlinevirtual

Reimplemented from casa::SIImageStore.

Definition at line 179 of file SIImageStoreMultiTerm.h.

References itsSumWts.

virtual std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStoreMultiTerm::image ( casacore::uInt  term = 0)
virtual

Reimplemented from casa::SIImageStore.

virtual std::shared_ptr<casacore::ImageInterface<float> > casa::SIImageStoreMultiTerm::imagepbcor ( casacore::uInt  term = 0)
virtual

Reimplemented from casa::SIImageStore.

virtual void casa::SIImageStoreMultiTerm::init ( )
virtual

Reimplemented from casa::SIImageStore.

virtual casacore::Bool casa::SIImageStoreMultiTerm::isModelEmpty ( )
virtual

Reimplemented from casa::SIImageStore.

virtual std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStoreMultiTerm::model ( casacore::uInt  term = 0)
virtual

Reimplemented from casa::SIImageStore.

void casa::SIImageStoreMultiTerm::multiplyModelByWeight ( const casacore::Float  pblimit = casacore::C::minfloat,
const casacore::String  normtype = "flatnoise" 
)
virtual

Reimplemented from casa::SIImageStore.

void casa::SIImageStoreMultiTerm::normalizePrimaryBeam ( const float  pblimit = casacore::C::minfloat)
virtual

Reimplemented from casa::SIImageStore.

virtual std::shared_ptr<casacore::ImageInterface<float> > casa::SIImageStoreMultiTerm::pb ( casacore::uInt  term = 0)
virtual

Reimplemented from casa::SIImageStore.

void casa::SIImageStoreMultiTerm::pbcor ( )
virtual

Reimplemented from casa::SIImageStore.

virtual void casa::SIImageStoreMultiTerm::printImageStats ( )
protectedvirtual

Reimplemented from casa::SIImageStore.

virtual std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStoreMultiTerm::psf ( casacore::uInt  term = 0)
virtual

Reimplemented from casa::SIImageStore.

casacore::Bool casa::SIImageStoreMultiTerm::releaseComplexGrids ( )
virtual

Reimplemented from casa::SIImageStore.

casacore::Bool casa::SIImageStoreMultiTerm::releaseLocks ( )
virtual

Other.

Reimplemented from casa::SIImageStore.

void casa::SIImageStoreMultiTerm::resetImages ( casacore::Bool  resetpsf,
casacore::Bool  resetresidual,
casacore::Bool  resetweight 
)
virtual

Reimplemented from casa::SIImageStore.

virtual std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStoreMultiTerm::residual ( casacore::uInt  term = 0)
virtual

Reimplemented from casa::SIImageStore.

void casa::SIImageStoreMultiTerm::restore ( casacore::GaussianBeam rbeam,
casacore::String usebeam,
casacore::uInt  term = 0 
)
virtual

virtual casacore::GaussianBeam restorePlane();

Reimplemented from casa::SIImageStore.

void casa::SIImageStoreMultiTerm::setModelImage ( casacore::Vector< casacore::String modelnames)
virtual

virtual std::shared_ptr<casacore::ImageInterface<casacore::Float> > gridwt(casacore::uInt term=0);

Reimplemented from casa::SIImageStore.

virtual std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStoreMultiTerm::sumwt ( casacore::uInt  term = 0)
virtual

Reimplemented from casa::SIImageStore.

virtual std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStoreMultiTerm::weight ( casacore::uInt  term = 0)
virtual

Reimplemented from casa::SIImageStore.

Member Data Documentation

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStoreMultiTerm::itsAlpha
private

Definition at line 208 of file SIImageStoreMultiTerm.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStoreMultiTerm::itsAlphaError
private

Definition at line 208 of file SIImageStoreMultiTerm.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStoreMultiTerm::itsAlphaPBcor
private

Definition at line 208 of file SIImageStoreMultiTerm.h.

casacore::Block<std::shared_ptr<casacore::ImageInterface<casacore::Complex> > > casa::SIImageStoreMultiTerm::itsBackwardGrids
private

Definition at line 207 of file SIImageStoreMultiTerm.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStoreMultiTerm::itsBeta
private

Definition at line 208 of file SIImageStoreMultiTerm.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStoreMultiTerm::itsBetaPBcor
private

Definition at line 208 of file SIImageStoreMultiTerm.h.

casacore::Block<std::shared_ptr<casacore::ImageInterface<casacore::Complex> > > casa::SIImageStoreMultiTerm::itsForwardGrids
private

Definition at line 207 of file SIImageStoreMultiTerm.h.

casacore::Block<std::shared_ptr<casacore::ImageInterface<casacore::Float> > > casa::SIImageStoreMultiTerm::itsImagePBcors
private

Definition at line 206 of file SIImageStoreMultiTerm.h.

casacore::Block<std::shared_ptr<casacore::ImageInterface<casacore::Float> > > casa::SIImageStoreMultiTerm::itsImages
private

Definition at line 206 of file SIImageStoreMultiTerm.h.

casacore::Block<std::shared_ptr<casacore::ImageInterface<casacore::Float> > > casa::SIImageStoreMultiTerm::itsModels
private

Definition at line 206 of file SIImageStoreMultiTerm.h.

casacore::uInt casa::SIImageStoreMultiTerm::itsNTerms
private

Definition at line 204 of file SIImageStoreMultiTerm.h.

casacore::Block<std::shared_ptr<casacore::ImageInterface<casacore::Float> > > casa::SIImageStoreMultiTerm::itsParentImagePBcors
private

Definition at line 210 of file SIImageStoreMultiTerm.h.

casacore::Block<std::shared_ptr<casacore::ImageInterface<casacore::Float> > > casa::SIImageStoreMultiTerm::itsParentImages
private

Definition at line 210 of file SIImageStoreMultiTerm.h.

casacore::Block<std::shared_ptr<casacore::ImageInterface<casacore::Float> > > casa::SIImageStoreMultiTerm::itsParentModels
private

Definition at line 210 of file SIImageStoreMultiTerm.h.

casacore::Block<std::shared_ptr<casacore::ImageInterface<casacore::Float> > > casa::SIImageStoreMultiTerm::itsParentPBs
private

Definition at line 210 of file SIImageStoreMultiTerm.h.

casacore::Block<std::shared_ptr<casacore::ImageInterface<casacore::Float> > > casa::SIImageStoreMultiTerm::itsParentPsfs
private

Definition at line 210 of file SIImageStoreMultiTerm.h.

casacore::Block<std::shared_ptr<casacore::ImageInterface<casacore::Float> > > casa::SIImageStoreMultiTerm::itsParentResiduals
private

Definition at line 210 of file SIImageStoreMultiTerm.h.

casacore::Block<std::shared_ptr<casacore::ImageInterface<casacore::Float> > > casa::SIImageStoreMultiTerm::itsParentSumWts
private

Definition at line 210 of file SIImageStoreMultiTerm.h.

casacore::Block<std::shared_ptr<casacore::ImageInterface<casacore::Float> > > casa::SIImageStoreMultiTerm::itsParentWeights
private

Definition at line 210 of file SIImageStoreMultiTerm.h.

casacore::Block<std::shared_ptr<casacore::ImageInterface<casacore::Float> > > casa::SIImageStoreMultiTerm::itsPBs
private

Definition at line 206 of file SIImageStoreMultiTerm.h.

casacore::Block<std::shared_ptr<casacore::ImageInterface<casacore::Float> > > casa::SIImageStoreMultiTerm::itsPsfs
private

Definition at line 206 of file SIImageStoreMultiTerm.h.

Referenced by hasPsf().

casacore::Block<std::shared_ptr<casacore::ImageInterface<casacore::Float> > > casa::SIImageStoreMultiTerm::itsResiduals
private

Definition at line 206 of file SIImageStoreMultiTerm.h.

Referenced by hasResidual().

casacore::Block<std::shared_ptr<casacore::ImageInterface<casacore::Float> > > casa::SIImageStoreMultiTerm::itsSumWts
private

Definition at line 206 of file SIImageStoreMultiTerm.h.

Referenced by hasSumWt().

casacore::Block<std::shared_ptr<casacore::ImageInterface<casacore::Float> > > casa::SIImageStoreMultiTerm::itsWeights
private

Definition at line 206 of file SIImageStoreMultiTerm.h.

Referenced by hasSensitivity().


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