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

#include <SynthesisImagerVi2.h>

Inheritance diagram for casa::SynthesisImagerVi2:
casa::SynthesisImager

Public Member Functions

 SynthesisImagerVi2 ()
 Default constructor. More...
 
virtual ~SynthesisImagerVi2 ()
 
virtual casacore::Bool selectData (const SynthesisParamsSelect &selpars)
 
Copy constructor and assignment operator

Imager(const Imager&); Imager& operator=(const Imager&); More...

 
virtual casacore::Bool defineImage (SynthesisParamsImage &impars, const SynthesisParamsGrid &gridpars)
 
virtual casacore::Bool weight (const casacore::String &type="natural", const casacore::String &rmode="norm", const casacore::Quantity &noise=casacore::Quantity(0.0,"Jy"), const casacore::Double robust=0.0, const casacore::Quantity &fieldofview=casacore::Quantity(0.0,"arcsec"), const casacore::Int npixels=0, const casacore::Bool multiField=false, const casacore::Bool useCubeBriggs=false, const casacore::String &filtertype=casacore::String("Gaussian"), const casacore::Quantity &filterbmaj=casacore::Quantity(0.0,"deg"), const casacore::Quantity &filterbmin=casacore::Quantity(0.0,"deg"), const casacore::Quantity &filterbpa=casacore::Quantity(0.0,"deg"))
 
casacore::Bool setWeightDensity (const casacore::String &imagename=casacore::String(""))
 set the weight density to the visibility iterator the default is to set it from the imagestore griwt() image Otherwise it will use this image passed here; useful for parallelization to share one grid to all children process More...
 
void predictModel ()
 
virtual void makeSdImage (casacore::Bool dopsf=false)
 
virtual void makeImage (casacore::String type, const casacore::String &imagename, const casacore::String &complexImage=casacore::String(""), const Int whichModel=0)
 This should replace makeSDImage and makePSF etc in the long run But for now you can do the following images i.e string recognized by type "observed", "model", "corrected", "psf", "residual", "singledish-observed", "singledish", "coverage", "holography", "holography-observed" For holography the FTmachine should be SDGrid and the baselines. More...
 
void dryGridding (const casacore::Vector< casacore::String > &cfList)
 SIIterBot& getLoopControls();. More...
 
void fillCFCache (const casacore::Vector< casacore::String > &cfList, const casacore::String &ftmName, const casacore::String &cfcPath, const casacore::Bool &psTermOn, const casacore::Bool &aTermOn, const casacore::Bool &conjBeams)
 
void reloadCFCache ()
 
- Public Member Functions inherited from casa::SynthesisImager
 SynthesisImager ()
 Default constructor. More...
 
virtual ~SynthesisImager ()
 
virtual casacore::Bool selectData (const casacore::String &msname, const casacore::String &spw="*", const casacore::String &freqBeg="", const casacore::String &freqEnd="", const casacore::MFrequency::Types freqFrame=casacore::MFrequency::LSRK, const casacore::String &field="*", const casacore::String &antenna="", const casacore::String &timestr="", const casacore::String &scan="", const casacore::String &obs="", const casacore::String &state="", const casacore::String &uvdist="", const casacore::String &taql="", const casacore::Bool usescratch=false, const casacore::Bool readonly=false, const casacore::Bool incrementModel=false)
 make all pure-inputs const More...
 
virtual casacore::Bool defineImage (const casacore::String &imagename, const casacore::Int nx, const casacore::Int ny, const casacore::Quantity &cellx, const casacore::Quantity &celly, const casacore::String &stokes, const casacore::MDirection &phaseCenter, const casacore::Int nchan, const casacore::Quantity &freqStart, const casacore::Quantity &freqStep, const casacore::Vector< casacore::Quantity > &restFreq, const casacore::Int facets=1, const casacore::String ftmachine="gridft", const casacore::Int nTaylorTerms=1, const casacore::Quantity &refFreq=casacore::Quantity(0,"Hz"), const casacore::Projection &projection=casacore::Projection::SIN, const casacore::Quantity &distance=casacore::Quantity(0,"m"), const casacore::MFrequency::Types &freqFrame=casacore::MFrequency::LSRK, const casacore::Bool trackSource=false, const casacore::MDirection &trackDir=casacore::MDirection(casacore::Quantity(0.0,"deg"), casacore::Quantity(90.0,"deg")), const casacore::Bool overwrite=false, const casacore::Float padding=1.0, const casacore::Bool useAutocorr=false, const bool useDoublePrec=true, const casacore::Int wprojplanes=1, const casacore::String convFunc="SF", const casacore::String startmodel="", const casacore::Bool aTermOn=true, const casacore::Bool psTermOn=true, const casacore::Bool mTermOn=false, const casacore::Bool wbAWP=true, const casacore::String cfCache="", const casacore::Bool usePointing=false, const casacore::Bool doPBCorr=true, const casacore::Bool conjBeams=true, const casacore::Float computePAStep=360.0, const casacore::Float rotatePAStep=5.0)
 When having a facetted image...call with (facets > 1) first and once only. More...
 
virtual casacore::Bool defineImage (casacore::CountedPtr< SIImageStore > imstor, const casacore::String &ftmachine)
 Define image via a predefine SIImageStore object. More...
 
casacore::Record getcsys ()
 
casacore::Int updateNchan ()
 
virtual casacore::Vector
< SynthesisParamsSelect
tuneSelectData ()
 casacore::Function to tune the data selection to intersect with image definition chosen This is to optimize the data selection so that unnecessary data is not parsed despite the user deciding to select so. More...
 
virtual void setComponentList (const ComponentList &cl, casacore::Bool sdgrid=false)
 Defining componentlist to use while degriding This should be called once...if multiple lists are used..they can be merged in one if sdgrid=true then image plane degridding is done. More...
 
casacore::String getWeightDensity ()
 Stores the weight density in an image. More...
 
void resetMappers ()
 the following get rid of the mappers in this object More...
 
casacore::CountedPtr
< SIImageStore
imageStore (const casacore::Int id=0)
 
void executeMajorCycle (casacore::Record &controls)
 casacore::Record getMajorCycleControls(); More...
 
void makePSF ()
 make the psf images i.e grid weight rather than data More...
 
const SynthesisParamsGridgetSynthesisParamsGrid ()
 
const SynthesisParamsImagegetSynthesisParamsImage ()
 
void setMovingSource (const casacore::String &movsource)
 This will set the movingSource_p. More...
 
virtual casacore::Long estimateRAM ()
 return an estimate of memory it is going to use in kB More...
 

Protected Member Functions

void appendToMapperList (casacore::String imagename, casacore::CoordinateSystem &csys, casacore::IPosition imshape, casacore::CountedPtr< refim::FTMachine > &ftm, casacore::CountedPtr< refim::FTMachine > &iftm, casacore::Quantity distance=casacore::Quantity(0.0,"m"), casacore::Int facets=1, casacore::Int chanchunks=1, const casacore::Bool overwrite=false, casacore::String mappertype=casacore::String("default"), casacore::Float padding=1.0, casacore::uInt ntaylorterms=1, casacore::Vector< casacore::String > startmodel=casacore::Vector< casacore::String >(0))
 
virtual void unlockMSs ()
 
virtual void createVisSet (const casacore::Bool writeaccess=false)
 
void createFTMachine (casacore::CountedPtr< casa::refim::FTMachine > &theFT, casacore::CountedPtr< casa::refim::FTMachine > &theIFT, const casacore::String &ftname, const casacore::uInt nTaylorTerms=1, const casacore::String mType="default", const casacore::Int facets=1, const casacore::Int wprojplane=1, const casacore::Float padding=1.0, const casacore::Bool useAutocorr=false, const casacore::Bool useDoublePrec=true, const casacore::String gridFunction=casacore::String("SF"), const casacore::Bool aTermOn=true, const casacore::Bool psTermOn=true, const casacore::Bool mTermOn=false, const casacore::Bool wbAWP=true, const casacore::String cfCache="", const casacore::Bool usePointing=false, const casacore::Bool doPBCorr=true, const casacore::Bool conjBeams=true, const casacore::Float computePAStep=360.0, const casacore::Float rotatePAStep=5.0, const casacore::String interpolation=casacore::String("linear"), const casacore::Bool freqFrameValid=true, const casacore::Int cache=1000000000, const casacore::Int tile=16, const casacore::String stokes="I", const casacore::String imageNamePrefix="", const casacore::String &pointingDirCol=casacore::String("direction"), const casacore::Float skyPosThreshold=0.0, const casacore::Int convSupport=-1, const casacore::Quantity &truncateSize=casacore::Quantity(-1), const casacore::Quantity &gwidth=casacore::Quantity(-1), const casacore::Quantity &jwidth=casacore::Quantity(-1), const casacore::Float minWeight=0.1, const casacore::Bool clipMinMax=false, const casacore::Bool pseudoI=false)
 
void createAWPFTMachine (casacore::CountedPtr< refim::FTMachine > &theFT, casacore::CountedPtr< refim::FTMachine > &theIFT, const casacore::String &ftmName, const casacore::Int facets, const casacore::Int wprojPlane, const casacore::Float padding, const casacore::Bool useAutocorr, const casacore::Bool useDoublePrec, const casacore::String gridFunction, const casacore::Bool aTermOn, const casacore::Bool psTermOn, const casacore::Bool mTermOn, const casacore::Bool wbAWP, const casacore::String cfCache, const casacore::Bool usePointing, const casacore::Bool doPBCorr, const casacore::Bool conjBeams, const casacore::Float computePAStep, const casacore::Float rotatePAStep, const casacore::Int cache, const casacore::Int tile, const casacore::String imageNamePrefix="")
 
void createSDFTMachine (casacore::CountedPtr< refim::FTMachine > &theFT, casacore::CountedPtr< refim::FTMachine > &theIFT, const casacore::String &pointingDirCol, const casacore::Float skyPosThreshold, const casacore::Bool doPBCorr, const casacore::Float rotatePAStep, const casacore::String &gridFunction, const casacore::Int convSupport, const casacore::Quantity &truncateSize, const casacore::Quantity &gwidth, const casacore::Quantity &jwidth, const casacore::Float minWeight, const casacore::Bool clipMinMax, const casacore::Int cache, const casacore::Int tile, const casacore::String &stokes, const casacore::Bool pseudoI=false)
 
virtual void runMajorCycle (const casacore::Bool dopsf=false, const casacore::Bool savemodel=false)
 Do the major cycle. More...
 
virtual void runMajorCycle2 (const casacore::Bool dopsf=false, const casacore::Bool savemodel=false)
 Version of major cycle code with mappers in a loop outside vi/vb. More...
 
void createMosFTMachine (casacore::CountedPtr< casa::refim::FTMachine > &theFT, casacore::CountedPtr< casa::refim::FTMachine > &theIFT, const casacore::Float padding, const casacore::Bool useAutoCorr, const casacore::Bool useDoublePrec, const casacore::Float rotatePAStep, const casacore::String Stokes="I", const casacore::Bool doConjBeam=false)
 
casacore::CountedPtr< SIMappercreateSIMapper (casacore::String mappertype, casacore::CountedPtr< SIImageStore > imagestore, casacore::CountedPtr< refim::FTMachine > ftmachine, casacore::CountedPtr< refim::FTMachine > iftmachine, casacore::uInt ntaylorterms=1)
 
virtual casacore::Record apparentSensitivity ()
 Calculate apparent sensitivity (for Visibility spectrum) Image spectral grid TBD. More...
 
bool makePB ()
 
bool makePrimaryBeam (PBMath &pbMath)
 
void andFreqSelection (const casacore::Int msId, const casacore::Int spwId, const casacore::Double freqBeg, const casacore::Double freqEnd, const casacore::MFrequency::Types frame)
 
void andChanSelection (const casacore::Int msId, const casacore::Int spwId, const casacore::Int startchan, const casacore::Int endchan)
 
void tuneChunk (const casacore::Int gmap)
 
casacore::Bool getMovingDirection (const vi::VisBuffer2 &vb, casacore::MDirection &movingDir)
 Set up tracking direction ; return False if no tracking is set. More...
 
- Protected Member Functions inherited from casa::SynthesisImager
Choose between different types
of FTMs *void 
createFTMachine (casacore::CountedPtr< FTMachine > &theFT, casacore::CountedPtr< FTMachine > &theIFT, const casacore::String &ftname, const casacore::uInt nTaylorTerms=1, const casacore::String mType="default", const casacore::Int facets=1, const casacore::Int wprojplane=1, const casacore::Float padding=1.0, const casacore::Bool useAutocorr=false, const casacore::Bool useDoublePrec=true, const casacore::String gridFunction=casacore::String("SF"), const casacore::Bool aTermOn=true, const casacore::Bool psTermOn=true, const casacore::Bool mTermOn=false, const casacore::Bool wbAWP=true, const casacore::String cfCache="", const casacore::Bool usePointing=false, const casacore::Bool doPBCorr=true, const casacore::Bool conjBeams=true, const casacore::Float computePAStep=360.0, const casacore::Float rotatePAStep=5.0, const casacore::String interpolation=casacore::String("linear"), const casacore::Bool freqFrameValid=true, const casacore::Int cache=1000000000, const casacore::Int tile=16, const casacore::String stokes="I", const casacore::String imageNamePrefix="")
 
void createMosFTMachine (casacore::CountedPtr< FTMachine > &theFT, casacore::CountedPtr< FTMachine > &theIFT, const casacore::Float padding, const casacore::Bool useAutoCorr, const casacore::Bool useDoublePrec, const casacore::Float rotatePAStep, const casacore::String Stokes="I", const casacore::Bool doConjConvFunc=false)
 
casacore::CountedPtr
< SIImageStore
createIMStore (casacore::String imageName, casacore::CoordinateSystem &cSys, casacore::IPosition imShape, const casacore::Bool overwrite, casacore::ROMSColumns &msc, casacore::String mappertype="default", casacore::uInt ntaylorterms=1, casacore::Quantity distance=casacore::Quantity(0.0,"m"), casacore::uInt facets=1, casacore::Bool useweightimage=false, casacore::Vector< casacore::String > startmodel=casacore::Vector< casacore::String >(0))
 Choose between different types of ImageStore types (single term, multiterm, faceted) More...
 
casacore::CountedPtr< SIMappercreateSIMapper (casacore::String mappertype, casacore::CountedPtr< SIImageStore > imagestore, casacore::CountedPtr< FTMachine > ftmachine, casacore::CountedPtr< FTMachine > iftmachine, casacore::uInt ntaylorterms=1)
 Choose between different types of Mappers (single term, multiterm, imagemosaic, faceted) More...
 
casacore::Block
< casacore::CountedPtr
< SIImageStore > > 
createFacetImageStoreList (casacore::CountedPtr< SIImageStore > imagestore, casacore::Int facets)
 
casacore::Block
< casacore::CountedPtr
< SIImageStore > > 
createChanChunkImageStoreList (casacore::CountedPtr< SIImageStore > imagestore, casacore::Int chanchunks)
 void setPsfFromOneFacet(); More...
 
casacore::Bool toUseWeightImage (casacore::CountedPtr< FTMachine > &ftm, casacore::String mappertype)
 
void createAWPFTMachine (casacore::CountedPtr< FTMachine > &theFT, casacore::CountedPtr< FTMachine > &theIFT, const casacore::String &ftmName, const casacore::Int facets, const casacore::Int wprojPlane, const casacore::Float padding, const casacore::Bool useAutocorr, const casacore::Bool useDoublePrec, const casacore::String gridFunction, const casacore::Bool aTermOn, const casacore::Bool psTermOn, const casacore::Bool mTermOn, const casacore::Bool wbAWP, const casacore::String cfCache, const casacore::Bool usePointing, const casacore::Bool doPBCorr, const casacore::Bool conjBeams, const casacore::Float computePAStep, const casacore::Float rotatePAStep, const casacore::Int cache, const casacore::Int tile, const casacore::String imageNamePrefix="")
 
ATermcreateTelescopeATerm (const casacore::MeasurementSet &ms, const casacore::Bool &isATermOn)
 
void getVPRecord (casacore::Record &rec, PBMath::CommonPB &kpb, casacore::String telescop)
 Get VP record. More...
 
void appendToMapperList (casacore::String imagename, casacore::CoordinateSystem &csys, casacore::String ftmachine, casacore::Quantity distance=casacore::Quantity(0.0,"m"), casacore::Int facets=1, const casacore::Bool overwrite=false)
 It associated the ftmachine with a given field. More...
 
*void appendToMapperList (casacore::String imagename, casacore::CoordinateSystem &csys, casacore::IPosition imshape, casacore::CountedPtr< FTMachine > &ftm, casacore::CountedPtr< FTMachine > &iftm, casacore::Quantity distance=casacore::Quantity(0.0,"m"), casacore::Int facets=1, casacore::Int chanchunks=1, const casacore::Bool overwrite=false, casacore::String mappertype=casacore::String("default"), float padding=1.0, casacore::uInt ntaylorterms=1, casacore::Vector< casacore::String > startmodel=casacore::Vector< casacore::String >(0))
 
bool makePBImage (const casacore::String &telescopeName, bool useSymmetricBeam, double diam)
 
bool makePBImage (const casacore::String telescop)
 
virtual bool isSpectralCube ()
 is any of the images defined spectral cube More...
 

Protected Attributes

casacore::CountedPtr
< vi::VisibilityIterator2
vi_p
 
Other Options

casacore::Block<const casacore::MeasurementSet *> mss_p; More...

 
casacore::CountedPtr
< vi::FrequencySelections
fselections_p
 
std::vector< std::pair
< casacore::Int,
casacore::Double > > 
freqBegs_p
 
std::vector< std::pair
< casacore::Int,
casacore::Double > > 
freqEnds_p
 
std::vector< std::pair
< casacore::Int,
casacore::Double > > 
freqSpws_p
 
std::map< casacore::Int,
std::map< casacore::Int,
casacore::Vector
< casacore::Int > > > 
channelSelections_p
 map <msid, map<spwid, vector(nchan, start)> > More...
 
casacore::MFrequency::Types selFreqFrame_p
 ///temporary variable as we carry that for tunechunk More...
 
- Protected Attributes inherited from casa::SynthesisImager
*SIMapperCollection itsMappers
 
casacore::CountedPtr
< SIImageStore
unFacettedImStore_p
 if facetting this storage will keep the unsliced version More...
 
casacore::CountedPtr
< SIImageStore
unChanChunkedImStore_p
 
casacore::Bool itsDataLoopPerMapper
 
casacore::CoordinateSystem itsMaxCoordSys
 
casacore::IPosition itsMaxShape
 
casacore::Record itsCsysRec
 
casacore::Int itsNchan
 
casacore::String itsVpTable
 
bool itsMakeVP
 
casacore::Data Selection
*casacore::Vector
< SynthesisParamsSelect
dataSel_p
 
casacore::Block< const
casacore::MeasurementSet * > 
mss_p
 Image Definition Imaging/Gridding. More...
 
casacore::Bool useViVb2_p
 vi::FrequencySelections fselections_p; casacore::CountedPtr<vi::VisibilityIterator2> vi_p; More...
 
casacore::Block
< casacore::MeasurementSet
mss4vi_p
 
VisibilityIteratorwvi_p
 
ROVisibilityIteratorrvi_p
 
casacore::Block
< casacore::Vector
< casacore::Int > > 
blockNChan_p
 
casacore::Block
< casacore::Vector
< casacore::Int > > 
blockStart_p
 
casacore::Block
< casacore::Vector
< casacore::Int > > 
blockStep_p
 
casacore::Block
< casacore::Vector
< casacore::Int > > 
blockSpw_p
 
casacore::Matrix
< casacore::Double
mssFreqSel_p
 
casacore::Cube< casacore::IntchanSel_p
 the 'channel flags' to handle various channel selections in the spw parameter More...
 
casacore::Bool writeAccess_p
 
casacore::MPosition mLocation_p
 
casacore::MDirection phaseCenter_p
 
casacore::Int facetsStore_p
 
casacore::Int chanChunksStore_p
 
VisImagingWeight imwgt_p
 
casacore::Bool imageDefined_p
 
casacore::Bool useScratch_p
 
casacore::Bool readOnly_p
 
FTMachine::Type datacol_p
 casacore::Bool freqFrameValid_p; More...
 
casacore::Int nMajorCycles
 
SynthesisParamsGrid gridpars_p
 
SynthesisParamsImage impars_p
 
String movingSource_p
 

Additional Inherited Members

- Static Public Member Functions inherited from casa::SynthesisImager
static casacore::String doubleToString (const casacore::Double &df)
 

Detailed Description

Definition at line 43 of file SynthesisImagerVi2.h.

Constructor & Destructor Documentation

casa::SynthesisImagerVi2::SynthesisImagerVi2 ( )

Default constructor.

virtual casa::SynthesisImagerVi2::~SynthesisImagerVi2 ( )
virtual

Member Function Documentation

void casa::SynthesisImagerVi2::andChanSelection ( const casacore::Int  msId,
const casacore::Int  spwId,
const casacore::Int  startchan,
const casacore::Int  endchan 
)
protected
void casa::SynthesisImagerVi2::andFreqSelection ( const casacore::Int  msId,
const casacore::Int  spwId,
const casacore::Double  freqBeg,
const casacore::Double  freqEnd,
const casacore::MFrequency::Types  frame 
)
protected
virtual casacore::Record casa::SynthesisImagerVi2::apparentSensitivity ( )
protectedvirtual

Calculate apparent sensitivity (for Visibility spectrum) Image spectral grid TBD.

Reimplemented from casa::SynthesisImager.

void casa::SynthesisImagerVi2::appendToMapperList ( casacore::String  imagename,
casacore::CoordinateSystem csys,
casacore::IPosition  imshape,
casacore::CountedPtr< refim::FTMachine > &  ftm,
casacore::CountedPtr< refim::FTMachine > &  iftm,
casacore::Quantity  distance = casacore::Quantity(0.0,"m"),
casacore::Int  facets = 1,
casacore::Int  chanchunks = 1,
const casacore::Bool  overwrite = false,
casacore::String  mappertype = casacore::String("default"),
casacore::Float  padding = 1.0,
casacore::uInt  ntaylorterms = 1,
casacore::Vector< casacore::String startmodel = casacore::Vectorcasacore::String >(0) 
)
protected
void casa::SynthesisImagerVi2::createAWPFTMachine ( casacore::CountedPtr< refim::FTMachine > &  theFT,
casacore::CountedPtr< refim::FTMachine > &  theIFT,
const casacore::String ftmName,
const casacore::Int  facets,
const casacore::Int  wprojPlane,
const casacore::Float  padding,
const casacore::Bool  useAutocorr,
const casacore::Bool  useDoublePrec,
const casacore::String  gridFunction,
const casacore::Bool  aTermOn,
const casacore::Bool  psTermOn,
const casacore::Bool  mTermOn,
const casacore::Bool  wbAWP,
const casacore::String  cfCache,
const casacore::Bool  usePointing,
const casacore::Bool  doPBCorr,
const casacore::Bool  conjBeams,
const casacore::Float  computePAStep,
const casacore::Float  rotatePAStep,
const casacore::Int  cache,
const casacore::Int  tile,
const casacore::String  imageNamePrefix = "" 
)
protected
Parameters
wprojPlane
aTermOn
void casa::SynthesisImagerVi2::createFTMachine ( casacore::CountedPtr< casa::refim::FTMachine > &  theFT,
casacore::CountedPtr< casa::refim::FTMachine > &  theIFT,
const casacore::String ftname,
const casacore::uInt  nTaylorTerms = 1,
const casacore::String  mType = "default",
const casacore::Int  facets = 1,
const casacore::Int  wprojplane = 1,
const casacore::Float  padding = 1.0,
const casacore::Bool  useAutocorr = false,
const casacore::Bool  useDoublePrec = true,
const casacore::String  gridFunction = casacore::String("SF"),
const casacore::Bool  aTermOn = true,
const casacore::Bool  psTermOn = true,
const casacore::Bool  mTermOn = false,
const casacore::Bool  wbAWP = true,
const casacore::String  cfCache = "",
const casacore::Bool  usePointing = false,
const casacore::Bool  doPBCorr = true,
const casacore::Bool  conjBeams = true,
const casacore::Float  computePAStep = 360.0,
const casacore::Float  rotatePAStep = 5.0,
const casacore::String  interpolation = casacore::String("linear"),
const casacore::Bool  freqFrameValid = true,
const casacore::Int  cache = 1000000000,
const casacore::Int  tile = 16,
const casacore::String  stokes = "I",
const casacore::String  imageNamePrefix = "",
const casacore::String pointingDirCol = casacore::String("direction"),
const casacore::Float  skyPosThreshold = 0.0,
const casacore::Int  convSupport = -1,
const casacore::Quantity truncateSize = casacore::Quantity(-1),
const casacore::Quantity gwidth = casacore::Quantity(-1),
const casacore::Quantity jwidth = casacore::Quantity(-1),
const casacore::Float  minWeight = 0.1,
const casacore::Bool  clipMinMax = false,
const casacore::Bool  pseudoI = false 
)
protected
Parameters
wprojplane
aTermOn
void casa::SynthesisImagerVi2::createMosFTMachine ( casacore::CountedPtr< casa::refim::FTMachine > &  theFT,
casacore::CountedPtr< casa::refim::FTMachine > &  theIFT,
const casacore::Float  padding,
const casacore::Bool  useAutoCorr,
const casacore::Bool  useDoublePrec,
const casacore::Float  rotatePAStep,
const casacore::String  Stokes = "I",
const casacore::Bool  doConjBeam = false 
)
protected
void casa::SynthesisImagerVi2::createSDFTMachine ( casacore::CountedPtr< refim::FTMachine > &  theFT,
casacore::CountedPtr< refim::FTMachine > &  theIFT,
const casacore::String pointingDirCol,
const casacore::Float  skyPosThreshold,
const casacore::Bool  doPBCorr,
const casacore::Float  rotatePAStep,
const casacore::String gridFunction,
const casacore::Int  convSupport,
const casacore::Quantity truncateSize,
const casacore::Quantity gwidth,
const casacore::Quantity jwidth,
const casacore::Float  minWeight,
const casacore::Bool  clipMinMax,
const casacore::Int  cache,
const casacore::Int  tile,
const casacore::String stokes,
const casacore::Bool  pseudoI = false 
)
protected
casacore::CountedPtr<SIMapper> casa::SynthesisImagerVi2::createSIMapper ( casacore::String  mappertype,
casacore::CountedPtr< SIImageStore imagestore,
casacore::CountedPtr< refim::FTMachine ftmachine,
casacore::CountedPtr< refim::FTMachine iftmachine,
casacore::uInt  ntaylorterms = 1 
)
protected
Parameters
ftmachine/ make this inside !!!!!
virtual void casa::SynthesisImagerVi2::createVisSet ( const casacore::Bool  writeaccess = false)
protectedvirtual

Reimplemented from casa::SynthesisImager.

virtual casacore::Bool casa::SynthesisImagerVi2::defineImage ( SynthesisParamsImage impars,
const SynthesisParamsGrid gridpars 
)
virtual

Reimplemented from casa::SynthesisImager.

void casa::SynthesisImagerVi2::dryGridding ( const casacore::Vector< casacore::String > &  cfList)
virtual

SIIterBot& getLoopControls();.

Reimplemented from casa::SynthesisImager.

void casa::SynthesisImagerVi2::fillCFCache ( const casacore::Vector< casacore::String > &  cfList,
const casacore::String ftmName,
const casacore::String cfcPath,
const casacore::Bool psTermOn,
const casacore::Bool aTermOn,
const casacore::Bool conjBeams 
)
virtual

Reimplemented from casa::SynthesisImager.

casacore::Bool casa::SynthesisImagerVi2::getMovingDirection ( const vi::VisBuffer2 vb,
casacore::MDirection movingDir 
)
protected

Set up tracking direction ; return False if no tracking is set.

return Direction of moving source is in the frame of vb.phaseCenter() at the time of the first row of the vb

virtual void casa::SynthesisImagerVi2::makeImage ( casacore::String  type,
const casacore::String imagename,
const casacore::String complexImage = casacore::String(""),
const Int  whichModel = 0 
)
virtual

This should replace makeSDImage and makePSF etc in the long run But for now you can do the following images i.e string recognized by type "observed", "model", "corrected", "psf", "residual", "singledish-observed", "singledish", "coverage", "holography", "holography-observed" For holography the FTmachine should be SDGrid and the baselines.

selected should be those that are pointed up with the antenna which is rastering.

Reimplemented from casa::SynthesisImager.

bool casa::SynthesisImagerVi2::makePB ( )
protectedvirtual

Reimplemented from casa::SynthesisImager.

bool casa::SynthesisImagerVi2::makePrimaryBeam ( PBMath pbMath)
protectedvirtual

Reimplemented from casa::SynthesisImager.

virtual void casa::SynthesisImagerVi2::makeSdImage ( casacore::Bool  dopsf = false)
virtual

Reimplemented from casa::SynthesisImager.

void casa::SynthesisImagerVi2::predictModel ( )
virtual

Reimplemented from casa::SynthesisImager.

void casa::SynthesisImagerVi2::reloadCFCache ( )
virtual

Reimplemented from casa::SynthesisImager.

virtual void casa::SynthesisImagerVi2::runMajorCycle ( const casacore::Bool  dopsf = false,
const casacore::Bool  savemodel = false 
)
protectedvirtual

Do the major cycle.

Reimplemented from casa::SynthesisImager.

virtual void casa::SynthesisImagerVi2::runMajorCycle2 ( const casacore::Bool  dopsf = false,
const casacore::Bool  savemodel = false 
)
protectedvirtual

Version of major cycle code with mappers in a loop outside vi/vb.

Reimplemented from casa::SynthesisImager.

virtual casacore::Bool casa::SynthesisImagerVi2::selectData ( const SynthesisParamsSelect selpars)
virtual

Copy constructor and assignment operator

Imager(const Imager&); Imager& operator=(const Imager&);

Reimplemented from casa::SynthesisImager.

casacore::Bool casa::SynthesisImagerVi2::setWeightDensity ( const casacore::String imagename = casacore::String(""))
virtual

set the weight density to the visibility iterator the default is to set it from the imagestore griwt() image Otherwise it will use this image passed here; useful for parallelization to share one grid to all children process

Reimplemented from casa::SynthesisImager.

void casa::SynthesisImagerVi2::tuneChunk ( const casacore::Int  gmap)
protected
virtual void casa::SynthesisImagerVi2::unlockMSs ( )
protectedvirtual

Reimplemented from casa::SynthesisImager.

virtual casacore::Bool casa::SynthesisImagerVi2::weight ( const casacore::String type = "natural",
const casacore::String rmode = "norm",
const casacore::Quantity noise = casacore::Quantity(0.0,"Jy"),
const casacore::Double  robust = 0.0,
const casacore::Quantity fieldofview = casacore::Quantity(0.0,"arcsec"),
const casacore::Int  npixels = 0,
const casacore::Bool  multiField = false,
const casacore::Bool  useCubeBriggs = false,
const casacore::String filtertype = casacore::String("Gaussian"),
const casacore::Quantity filterbmaj = casacore::Quantity(0.0,"deg"),
const casacore::Quantity filterbmin = casacore::Quantity(0.0,"deg"),
const casacore::Quantity filterbpa = casacore::Quantity(0.0,"deg") 
)
virtual

Reimplemented from casa::SynthesisImager.

Member Data Documentation

std::map<casacore::Int, std::map<casacore::Int, casacore::Vector<casacore::Int> > > casa::SynthesisImagerVi2::channelSelections_p
protected

map <msid, map<spwid, vector(nchan, start)> >

Definition at line 226 of file SynthesisImagerVi2.h.

std::vector<std::pair<casacore::Int, casacore::Double> > casa::SynthesisImagerVi2::freqBegs_p
protected

Definition at line 222 of file SynthesisImagerVi2.h.

std::vector<std::pair<casacore::Int, casacore::Double> > casa::SynthesisImagerVi2::freqEnds_p
protected

Definition at line 223 of file SynthesisImagerVi2.h.

std::vector<std::pair<casacore::Int, casacore::Double> > casa::SynthesisImagerVi2::freqSpws_p
protected

Definition at line 224 of file SynthesisImagerVi2.h.

casacore::CountedPtr<vi::FrequencySelections> casa::SynthesisImagerVi2::fselections_p
protected

Definition at line 221 of file SynthesisImagerVi2.h.

casacore::MFrequency::Types casa::SynthesisImagerVi2::selFreqFrame_p
protected

///temporary variable as we carry that for tunechunk

Definition at line 228 of file SynthesisImagerVi2.h.

casacore::CountedPtr<vi::VisibilityIterator2> casa::SynthesisImagerVi2::vi_p
protected

Other Options

casacore::Block<const casacore::MeasurementSet *> mss_p;

Definition at line 220 of file SynthesisImagerVi2.h.


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