|
| 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 () |
|
| 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 ×tr="", 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 SynthesisParamsGrid & | getSynthesisParamsGrid () |
|
const SynthesisParamsImage & | getSynthesisParamsImage () |
|
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...
|
|
|
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< SIMapper > | createSIMapper (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...
|
|
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< SIMapper > | createSIMapper (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="") |
|
ATerm * | createTelescopeATerm (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...
|
|
Definition at line 43 of file SynthesisImagerVi2.h.