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

#include <SIImageStore.h>

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

Public Types

enum  IMAGE_IDS {
  MASK,
  PSF,
  MODEL,
  RESIDUAL,
  WEIGHT,
  IMAGE,
  SUMWT,
  GRIDWT,
  PB,
  FORWARDGRID,
  BACKWARDGRID,
  IMAGEPBCOR,
  MAX_IMAGE_IDS
}
 

Public Member Functions

 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 void init ()
 
virtual ~SIImageStore ()
 
casacore::IPosition getShape ()
 
casacore::String getName ()
 
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
< casacore::Float > > 
mask (casacore::uInt term=0)
 
virtual std::shared_ptr
< casacore::ImageInterface
< casacore::Complex > > 
forwardGrid (casacore::uInt term=0)
 
virtual std::shared_ptr
< casacore::ImageInterface
< casacore::Complex > > 
backwardGrid (casacore::uInt term=0)
 
virtual std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
sumwt (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 > > 
gridwt (casacore::IPosition newshape=casacore::IPosition(0))
 Gridwgt is for weight density sharing (Brigg's) thus only term 0 is done. More...
 
virtual std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
pb (casacore::uInt term=0)
 
virtual std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
imagepbcor (casacore::uInt term=0)
 
virtual void setModelImageOne (casacore::String modelname, casacore::Int nterm=-1)
 
virtual void setModelImage (casacore::Vector< casacore::String > modelnames)
 
virtual casacore::Vector
< casacore::String
getModelImageName ()
 
virtual void setWeightDensity (std::shared_ptr< SIImageStore > imagetoset)
 
virtual casacore::Bool doesImageExist (casacore::String imagename)
 
void setObjectName (const casacore::String)
 
void setMiscInfo (const casacore::Record miscinfo)
 
virtual void resetImages (casacore::Bool resetpsf, casacore::Bool resetresidual, casacore::Bool resetweight)
 
virtual void addImages (std::shared_ptr< SIImageStore > imagestoadd, casacore::Bool addpsf, casacore::Bool addresidual, casacore::Bool addweight, casacore::Bool adddensity)
 
virtual void dividePSFByWeight (const casacore::Float pblimit=casacore::C::minfloat)
 
virtual void normalizePrimaryBeam (const casacore::Float pblimit=casacore::C::minfloat)
 
virtual void divideResidualByWeight (const casacore::Float pblimit=casacore::C::minfloat, const casacore::String normtype="flatnoise")
 
virtual void divideModelByWeight (const casacore::Float pblimit=casacore::C::minfloat, const casacore::String normtype="flatnoise")
 
virtual void multiplyModelByWeight (const casacore::Float pblimit=casacore::C::minfloat, const casacore::String normtype="flatnoise")
 
virtual casacore::Bool releaseLocks ()
 Other. More...
 
virtual casacore::Bool releaseComplexGrids ()
 
void releaseImage (std::shared_ptr< casacore::ImageInterface< casacore::Float > > &im)
 
void releaseImage (std::shared_ptr< casacore::ImageInterface< casacore::Complex > > &im)
 
virtual casacore::Double getReferenceFrequency ()
 
virtual casacore::uInt getNTaylorTerms (casacore::Bool dopsf=casacore::False)
 
casacore::GaussianBeam getPSFGaussian ()
 
virtual void restore (casacore::GaussianBeam &rbeam, casacore::String &usebeam, casacore::uInt term=0)
 virtual casacore::GaussianBeam restorePlane(); More...
 
virtual void pbcor (casacore::uInt term)
 
virtual void pbcor ()
 
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)
 
virtual std::shared_ptr
< SIImageStore
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)
 The images internall will reference back to a given section of the main of this. More...
 
casacore::Bool getUseWeightImage (casacore::ImageInterface< casacore::Float > &target)
 
virtual casacore::Bool hasPB ()
 virtual casacore::Bool hasSensitivity(){return doesImageExist(itsImageName+imageExts(WEIGHT));} More...
 
virtual casacore::Bool hasSensitivity ()
 
virtual casacore::Bool hasMask ()
 virtual casacore::Bool hasPB(){return (bool) itsPB;} More...
 
virtual casacore::Bool hasModel ()
 virtual casacore::Bool hasModel() {return (bool) itsModel;} More...
 
virtual casacore::Bool hasPsf ()
 
virtual casacore::Bool hasResidual ()
 virtual casacore::Bool hasPsfImage() {return doesImageExist(itsImageName+imageExts(PSF));} More...
 
virtual casacore::Bool hasResidualImage ()
 
virtual casacore::Bool hasSumWt ()
 
virtual casacore::Bool hasRestored ()
 {return doesImageExist(itsImageName+imageExts(SUMWT));} More...
 
casacore::Float getPeakResidual ()
 Image Statistics.... More...
 
casacore::Float getPeakResidualWithinMask ()
 
casacore::Float getModelFlux (casacore::uInt term=0)
 
virtual casacore::Bool isModelEmpty ()
 
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 void printImageStats ()
 
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)
 
virtual void calcSensitivity ()
 
casacore::CoordinateSystem getCSys ()
 
virtual casacore::Long estimateRAM ()
 estimate of Memory to be used by the images held in KiloBytes More...
 

Protected Member Functions

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)
 

Protected Attributes

*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
 

Private Member Functions

virtual void initMetaInfo (std::shared_ptr< casacore::ImageInterface< casacore::Float > > &imptr, const casacore::String name)
 

Private Attributes

std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsPsf
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsModel
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsResidual
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsWeight
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsImage
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsSumWt
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsImagePBcor
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsPB
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Complex > > 
itsForwardGrid
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Complex > > 
itsBackwardGrid
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsParentPsf
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsParentModel
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsParentResidual
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsParentWeight
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsParentImage
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsParentSumWt
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsParentGridWt
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsParentPB
 
std::shared_ptr
< casacore::ImageInterface
< casacore::Float > > 
itsParentImagePBcor
 

Detailed Description

Definition at line 52 of file SIImageStore.h.

Member Enumeration Documentation

Enumerator
MASK 
PSF 
MODEL 
RESIDUAL 
WEIGHT 
IMAGE 
SUMWT 
GRIDWT 
PB 
FORWARDGRID 
BACKWARDGRID 
IMAGEPBCOR 
MAX_IMAGE_IDS 

Definition at line 55 of file SIImageStore.h.

Constructor & Destructor Documentation

casa::SIImageStore::SIImageStore ( )

Default constructor.

casa::SIImageStore::SIImageStore ( const casacore::String imagename,
const casacore::Bool  ignorefacets = casacore::False 
)
casa::SIImageStore::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 
)
Parameters
overwriteconst casacore::Int nfacets=1,
casa::SIImageStore::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 casa::SIImageStore::~SIImageStore ( )
virtual

Member Function Documentation

void casa::SIImageStore::accessImage ( std::shared_ptr< casacore::ImageInterface< casacore::Float > > &  ptr,
std::shared_ptr< casacore::ImageInterface< casacore::Float > > &  parentptr,
const casacore::String  label 
)
protected
virtual void casa::SIImageStore::addImages ( std::shared_ptr< SIImageStore imagestoadd,
casacore::Bool  addpsf,
casacore::Bool  addresidual,
casacore::Bool  addweight,
casacore::Bool  adddensity 
)
virtual

Reimplemented in casa::SIImageStoreMultiTerm.

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

Reimplemented in casa::SIImageStoreMultiTerm.

Definition at line 115 of file SIImageStore.h.

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

Reimplemented in casa::SIImageStoreMultiTerm.

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

Reimplemented in casa::SIImageStoreMultiTerm.

Definition at line 116 of file SIImageStore.h.

void casa::SIImageStore::buildImage ( std::shared_ptr< casacore::ImageInterface< casacore::Float > > &  imptr,
casacore::IPosition  shape,
casacore::CoordinateSystem  csys,
const casacore::String  name 
)
protected
void casa::SIImageStore::buildImage ( std::shared_ptr< casacore::ImageInterface< casacore::Float > > &  imptr,
const casacore::String  name 
)
protected
casacore::Float casa::SIImageStore::calcMean ( casacore::Vector< casacore::Float > &  vect,
casacore::Vector< casacore::Bool > &  flag 
)
virtual casacore::Array<casacore::Double> casa::SIImageStore::calcRobustRMS ( casacore::Array< casacore::Double > &  mdns,
const casacore::Float  pbmasklevel = 0.0,
const casacore::Bool  fastcalc = true 
)
virtual
virtual void casa::SIImageStore::calcSensitivity ( )
virtual

Reimplemented in casa::SIImageStoreMultiTerm.

casacore::Float casa::SIImageStore::calcStd ( casacore::Vector< casacore::Float > &  vect,
casacore::Vector< casacore::Bool > &  flag,
casacore::Vector< casacore::Float > &  fit 
)
casacore::Float casa::SIImageStore::calcStd ( casacore::Vector< casacore::Float > &  vect,
casacore::Vector< casacore::Bool > &  flag,
casacore::Float  mean 
)
casacore::Bool casa::SIImageStore::createMask ( casacore::LatticeExpr< casacore::Bool > &  lemask,
casacore::CountedPtr< casacore::ImageInterface< casacore::Float > >  outimage 
)
protected
casacore::Bool casa::SIImageStore::divideImageByWeightVal ( casacore::ImageInterface< casacore::Float > &  target)
protected
virtual void casa::SIImageStore::divideModelByWeight ( const casacore::Float  pblimit = casacore::C::minfloat,
const casacore::String  normtype = "flatnoise" 
)
virtual

Reimplemented in casa::SIImageStoreMultiTerm.

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

Reimplemented in casa::SIImageStoreMultiTerm.

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

Reimplemented in casa::SIImageStoreMultiTerm.

virtual casacore::Bool casa::SIImageStore::doesImageExist ( casacore::String  imagename)
virtual
virtual casacore::Long casa::SIImageStore::estimateRAM ( )
virtual

estimate of Memory to be used by the images held in KiloBytes

void casa::SIImageStore::fillSumWt ( casacore::Int  term = 0)
protected
casacore::GaussianBeam casa::SIImageStore::findGoodBeam ( )
void casa::SIImageStore::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 
)
casacore::Bool casa::SIImageStore::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 
)
protected
virtual std::shared_ptr<casacore::ImageInterface<casacore::Complex> > casa::SIImageStore::forwardGrid ( casacore::uInt  term = 0)
virtual

Reimplemented in casa::SIImageStoreMultiTerm.

casacore::ImageBeamSet casa::SIImageStore::getBeamSet ( )
casacore::CoordinateSystem casa::SIImageStore::getCSys ( )
inline

Definition at line 219 of file SIImageStore.h.

References itsCoordSys.

casacore::Float casa::SIImageStore::getMaskSum ( )
casacore::Float casa::SIImageStore::getModelFlux ( casacore::uInt  term = 0)
virtual casacore::Vector<casacore::String> casa::SIImageStore::getModelImageName ( )
virtual

Reimplemented in casa::SIImageStoreMultiTerm.

casacore::String casa::SIImageStore::getName ( )
virtual casacore::uInt casa::SIImageStore::getNTaylorTerms ( casacore::Bool  dopsf = casacore::False)
virtual

Reimplemented in casa::SIImageStoreMultiTerm.

casacore::Double casa::SIImageStore::getPbMax ( )
protected
casacore::Double casa::SIImageStore::getPbMax ( casacore::Int  pol,
casacore::Int  chan 
)
protected
casacore::Float casa::SIImageStore::getPeakResidual ( )

Image Statistics....

casacore::Float casa::SIImageStore::getPeakResidualWithinMask ( )
casacore::GaussianBeam casa::SIImageStore::getPSFGaussian ( )
casacore::Float casa::SIImageStore::getPSFSidelobeLevel ( )
virtual casacore::Double casa::SIImageStore::getReferenceFrequency ( )
inlinevirtual

Reimplemented in casa::SIImageStoreMultiTerm.

Definition at line 148 of file SIImageStore.h.

casacore::IPosition casa::SIImageStore::getShape ( )
virtual std::shared_ptr<SIImageStore> casa::SIImageStore::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 in casa::SIImageStoreMultiTerm.

casacore::Matrix<casacore::Float> casa::SIImageStore::getSumWt ( casacore::ImageInterface< casacore::Float > &  target)
protected
virtual casacore::String casa::SIImageStore::getType ( )
inlinevirtual

Reimplemented in casa::SIImageStoreMultiTerm.

Definition at line 102 of file SIImageStore.h.

casacore::Bool casa::SIImageStore::getUseWeightImage ( casacore::ImageInterface< casacore::Float > &  target)
virtual std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::gridwt ( casacore::IPosition  newshape = casacore::IPosition(0))
virtual

Gridwgt is for weight density sharing (Brigg's) thus only term 0 is done.

default will be just 1 plane of densities for all fields

virtual casacore::Bool casa::SIImageStore::hasMask ( )
inlinevirtual

virtual casacore::Bool hasPB(){return (bool) itsPB;}

Definition at line 181 of file SIImageStore.h.

References doesImageExist(), imageExts, itsImageName, and MASK.

virtual casacore::Bool casa::SIImageStore::hasModel ( )
inlinevirtual

virtual casacore::Bool hasModel() {return (bool) itsModel;}

Reimplemented in casa::SIImageStoreMultiTerm.

Definition at line 183 of file SIImageStore.h.

References doesImageExist(), imageExts, itsImageName, and MODEL.

virtual casacore::Bool casa::SIImageStore::hasPB ( )
inlinevirtual

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

Reimplemented in casa::SIImageStoreMultiTerm.

Definition at line 176 of file SIImageStore.h.

References doesImageExist(), imageExts, itsImageName, and PB.

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

Reimplemented in casa::SIImageStoreMultiTerm.

Definition at line 184 of file SIImageStore.h.

References itsPsf.

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

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

Reimplemented in casa::SIImageStoreMultiTerm.

Definition at line 186 of file SIImageStore.h.

References itsResidual.

virtual casacore::Bool casa::SIImageStore::hasResidualImage ( )
inlinevirtual

Reimplemented in casa::SIImageStoreMultiTerm.

Definition at line 187 of file SIImageStore.h.

References doesImageExist(), imageExts, itsImageName, and RESIDUAL.

virtual casacore::Bool casa::SIImageStore::hasRestored ( )
inlinevirtual

{return doesImageExist(itsImageName+imageExts(SUMWT));}

Reimplemented in casa::SIImageStoreMultiTerm.

Definition at line 190 of file SIImageStore.h.

References doesImageExist(), IMAGE, imageExts, and itsImageName.

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

Reimplemented in casa::SIImageStoreMultiTerm.

Definition at line 178 of file SIImageStore.h.

References itsWeight.

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

Reimplemented in casa::SIImageStoreMultiTerm.

Definition at line 188 of file SIImageStore.h.

References itsSumWt.

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

Reimplemented in casa::SIImageStoreMultiTerm.

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

Reimplemented in casa::SIImageStoreMultiTerm.

virtual void casa::SIImageStore::init ( )
virtual

Reimplemented in casa::SIImageStoreMultiTerm.

virtual void casa::SIImageStore::initMetaInfo ( std::shared_ptr< casacore::ImageInterface< casacore::Float > > &  imptr,
const casacore::String  name 
)
privatevirtual
virtual casacore::Bool casa::SIImageStore::isModelEmpty ( )
virtual

Reimplemented in casa::SIImageStoreMultiTerm.

void casa::SIImageStore::lineFit ( casacore::Vector< casacore::Float > &  data,
casacore::Vector< casacore::Bool > &  flag,
casacore::Vector< casacore::Float > &  fit,
casacore::uInt  lim1,
casacore::uInt  lim2 
)
virtual void casa::SIImageStore::makeImageBeamSet ( )
virtual
void casa::SIImageStore::makePBFromWeight ( const casacore::Float  pblimit)
protected
void casa::SIImageStore::makePBImage ( const casacore::Float  pblimit)
protected
void casa::SIImageStore::makePersistent ( casacore::String fileName)


std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::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 
)
protected
virtual std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::mask ( casacore::uInt  term = 0)
virtual
casacore::Double casa::SIImageStore::memoryBeforeLattice ( )
protected
virtual std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::model ( casacore::uInt  term = 0)
virtual

Reimplemented in casa::SIImageStoreMultiTerm.

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

Reimplemented in casa::SIImageStoreMultiTerm.

virtual void casa::SIImageStore::normalizePrimaryBeam ( const casacore::Float  pblimit = casacore::C::minfloat)
virtual

Reimplemented in casa::SIImageStoreMultiTerm.

void casa::SIImageStore::normPSF ( casacore::Int  term = 0)
protected
std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::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 
)
protected
virtual std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::pb ( casacore::uInt  term = 0)
virtual

Reimplemented in casa::SIImageStoreMultiTerm.

virtual void casa::SIImageStore::pbcor ( casacore::uInt  term)
virtual
virtual void casa::SIImageStore::pbcor ( )
inlinevirtual

Reimplemented in casa::SIImageStoreMultiTerm.

Definition at line 154 of file SIImageStore.h.

References pbcor().

Referenced by pbcor().

virtual void casa::SIImageStore::printBeamSet ( casacore::Bool  verbose = casacore::False)
virtual
virtual void casa::SIImageStore::printImageStats ( )
virtual

Reimplemented in casa::SIImageStoreMultiTerm.

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

Reimplemented in casa::SIImageStoreMultiTerm.

void casa::SIImageStore::recreate ( casacore::String fileName)
void casa::SIImageStore::regridToModelImage ( casacore::ImageInterface< casacore::Float > &  inputimage,
casacore::Int  term = 0 
)
protected
virtual casacore::Bool casa::SIImageStore::releaseComplexGrids ( )
virtual

Reimplemented in casa::SIImageStoreMultiTerm.

void casa::SIImageStore::releaseImage ( std::shared_ptr< casacore::ImageInterface< casacore::Float > > &  im)
void casa::SIImageStore::releaseImage ( std::shared_ptr< casacore::ImageInterface< casacore::Complex > > &  im)
virtual casacore::Bool casa::SIImageStore::releaseLocks ( )
virtual

Other.

Reimplemented in casa::SIImageStoreMultiTerm.

void casa::SIImageStore::removeMask ( casacore::CountedPtr< casacore::ImageInterface< casacore::Float > >  im)
protected
void casa::SIImageStore::rescaleResolution ( casacore::Int  chan,
casacore::ImageInterface< casacore::Float > &  subResidual,
const casacore::GaussianBeam newbeam,
const casacore::GaussianBeam oldbeam 
)
protected
virtual void casa::SIImageStore::resetImages ( casacore::Bool  resetpsf,
casacore::Bool  resetresidual,
casacore::Bool  resetweight 
)
virtual

Reimplemented in casa::SIImageStoreMultiTerm.

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

Reimplemented in casa::SIImageStoreMultiTerm.

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

virtual casacore::GaussianBeam restorePlane();

Reimplemented in casa::SIImageStoreMultiTerm.

void casa::SIImageStore::setDataPolFrame ( StokesImageUtil::PolRep  datapolrep)
inline

Definition at line 216 of file SIImageStore.h.

References itsDataPolRep.

void casa::SIImageStore::setMiscInfo ( const casacore::Record  miscinfo)
virtual void casa::SIImageStore::setModelImage ( casacore::Vector< casacore::String modelnames)
virtual

Reimplemented in casa::SIImageStoreMultiTerm.

virtual void casa::SIImageStore::setModelImageOne ( casacore::String  modelname,
casacore::Int  nterm = -1 
)
virtual
void casa::SIImageStore::setObjectName ( const casacore::String  )
void casa::SIImageStore::setSumWt ( casacore::ImageInterface< casacore::Float > &  target,
casacore::Matrix< casacore::Float > &  sumwt 
)
protected
void casa::SIImageStore::setUseWeightImage ( casacore::ImageInterface< casacore::Float > &  target,
casacore::Bool  useweightimage 
)
protected
virtual void casa::SIImageStore::setWeightDensity ( std::shared_ptr< SIImageStore imagetoset)
virtual
virtual std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::sumwt ( casacore::uInt  term = 0)
virtual

Reimplemented in casa::SIImageStoreMultiTerm.

casacore::IPosition casa::SIImageStore::tileShape ( )
protected
void casa::SIImageStore::validate ( )
virtual std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::weight ( casacore::uInt  term = 0)
virtual

Reimplemented in casa::SIImageStoreMultiTerm.

Member Data Documentation

casacore::Vector<casacore::String> casa::SIImageStore::imageExts
protected
std::shared_ptr<casacore::ImageInterface<casacore::Complex> > casa::SIImageStore::itsBackwardGrid
private

Definition at line 309 of file SIImageStore.h.

casacore::Int casa::SIImageStore::itsChanId
protected

Definition at line 286 of file SIImageStore.h.

casacore::CoordinateSystem casa::SIImageStore::itsCoordSys
protected

Definition at line 276 of file SIImageStore.h.

Referenced by getCSys().

StokesImageUtil::PolRep casa::SIImageStore::itsDataPolRep
protected

Definition at line 289 of file SIImageStore.h.

Referenced by setDataPolFrame().

casacore::Int casa::SIImageStore::itsFacetId
protected

Definition at line 285 of file SIImageStore.h.

std::shared_ptr<casacore::ImageInterface<casacore::Complex> > casa::SIImageStore::itsForwardGrid
private

Definition at line 309 of file SIImageStore.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::itsGridWt
protected

Definition at line 282 of file SIImageStore.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::itsImage
private

Definition at line 308 of file SIImageStore.h.

casacore::String casa::SIImageStore::itsImageName
protected
std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::itsImagePBcor
private

Definition at line 308 of file SIImageStore.h.

* casacore::IPosition casa::SIImageStore::itsImageShape
protected

Definition at line 274 of file SIImageStore.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::itsMask
protected

Definition at line 282 of file SIImageStore.h.

casacore::Record casa::SIImageStore::itsMiscInfo
protected

Definition at line 281 of file SIImageStore.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::itsModel
private

Definition at line 308 of file SIImageStore.h.

casacore::Int casa::SIImageStore::itsNChanChunks
protected

Definition at line 286 of file SIImageStore.h.

casacore::Int casa::SIImageStore::itsNFacets
protected

Definition at line 285 of file SIImageStore.h.

casacore::Int casa::SIImageStore::itsNPolChunks
protected

Definition at line 287 of file SIImageStore.h.

casacore::String casa::SIImageStore::itsObjectName
protected

Definition at line 280 of file SIImageStore.h.

casacore::Int casa::SIImageStore::itsOpened
protected

Definition at line 301 of file SIImageStore.h.

casacore::Bool casa::SIImageStore::itsOverWrite
protected

Definition at line 278 of file SIImageStore.h.

casacore::CoordinateSystem casa::SIImageStore::itsParentCoordSys
protected

Definition at line 276 of file SIImageStore.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::itsParentGridWt
private

Definition at line 311 of file SIImageStore.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::itsParentImage
private

Definition at line 311 of file SIImageStore.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::itsParentImagePBcor
private

Definition at line 311 of file SIImageStore.h.

* casacore::IPosition casa::SIImageStore::itsParentImageShape
protected

Definition at line 274 of file SIImageStore.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::itsParentMask
protected

Definition at line 282 of file SIImageStore.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::itsParentModel
private

Definition at line 311 of file SIImageStore.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::itsParentPB
private

Definition at line 311 of file SIImageStore.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::itsParentPsf
private

Definition at line 311 of file SIImageStore.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::itsParentResidual
private

Definition at line 311 of file SIImageStore.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::itsParentSumWt
private

Definition at line 311 of file SIImageStore.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::itsParentWeight
private

Definition at line 311 of file SIImageStore.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::itsPB
private

Definition at line 308 of file SIImageStore.h.

casacore::Double casa::SIImageStore::itsPBScaleFactor
protected

Definition at line 283 of file SIImageStore.h.

casacore::Int casa::SIImageStore::itsPolId
protected

Definition at line 287 of file SIImageStore.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::itsPsf
private

Definition at line 308 of file SIImageStore.h.

Referenced by hasPsf().

casacore::ImageBeamSet casa::SIImageStore::itsPSFBeams
protected

Definition at line 291 of file SIImageStore.h.

casacore::Float casa::SIImageStore::itsPSFSideLobeLevel
protected

Definition at line 294 of file SIImageStore.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::itsResidual
private

Definition at line 308 of file SIImageStore.h.

Referenced by hasResidual().

casacore::ImageBeamSet casa::SIImageStore::itsRestoredBeams
protected

Definition at line 292 of file SIImageStore.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::itsSumWt
private

Definition at line 308 of file SIImageStore.h.

Referenced by hasSumWt().

casacore::Bool casa::SIImageStore::itsUseWeight
protected

Definition at line 279 of file SIImageStore.h.

std::shared_ptr<casacore::ImageInterface<casacore::Float> > casa::SIImageStore::itsWeight
private

Definition at line 308 of file SIImageStore.h.

Referenced by hasSensitivity().


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