27 #ifndef SYNTHESIS_VB2_SYNTHESISIMAGER_H
28 #define SYNTHESIS_VB2_SYNTHESISIMAGER_H
55 class VisImagingWeight;
117 const bool useDoublePrec=
true,
A Vector of integers, for indexing into Array<T> objects.
void setPsfFromOneFacet()
casacore::CoordinateSystem itsMaxCoordSys
casacore::Bool writeAccess_p
A Measure: astronomical direction.
casacore::IPosition itsMaxShape
A 1-D Specialization of the Array class.
A Measure: position on Earth.
casacore::CountedPtr< SIImageStore > unFacettedImStore_p
if facetting this storage will keep the unsliced version
Object to hold type of imaging weight scheme to be used on the fly and to provide facilities to do th...
Geometric parameters needed for a sky projection to a plane.
casacore::Bool imageDefined_p
virtual Type type()
Return the type enum.
void makePSF()
make the psf images i.e grid weight rather than data
casacore::Data Selection Image Definition Imaging Gridding Other Options *casacore::Block< const casacore::MeasurementSet * > mss_p
casacore::Bool readOnly_p
casacore::MPosition mLocation_p
casacore::CountedPtr< SIImageStore > createIMStore(casacore::String imageName, casacore::CoordinateSystem &cSys, casacore::IPosition imShape, const casacore::Bool overwrite, casacore::String mappertype="default", casacore::uInt ntaylorterms=1, casacore::Quantity distance=casacore::Quantity(0.0,"m"), casacore::uInt facets=1, casacore::Bool useweightimage=false)
Choose between different types of ImageStore types (single term, multiterm, faceted) ...
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)
Choose between different types of Mappers (single term, multiterm, imagemosaic, faceted) ...
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::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"))
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 doPointing, const casacore::Bool doPBCorr, const casacore::Bool conjBeams, const casacore::Float computePAStep, const casacore::Float rotatePAStep, const casacore::Int cache, const casacore::Int tile)
void createVisSet(const casacore::Bool writeaccess=false)
casacore::Bool toUseWeightImage(casacore::CountedPtr< refim::FTMachine > &ftm, casacore::String mappertype)
casacore::Bool useScratch_p
*SIMapperCollection itsMappers
void resetMappers()
the following get rid of the mappers in this object
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...
Referenced counted pointer for constant data.
A base class for astronomical images.
casacore::MDirection phaseCenter_p
virtual ~SynthesisImager()
Type
Types of known Images that may be made using the makeImage method.
casacore::CountedPtr< SIImageStore > imageStore(const casacore::Int id=0)
void executeMajorCycle(casacore::Record &controls)
casacore::Record getMajorCycleControls();
Choose between different types of FTMs *void createFTMachine(casacore::CountedPtr< refim::FTMachine > &theFT, casacore::CountedPtr< 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 doPointing=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)
SIIterBot& getLoopControls();.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
void runMajorCycle(const casacore::Bool dopsf=false, const casacore::Bool savemodel=false)
refim::FTMachine::Type datacol_p
casacore::Bool freqFrameValid_p;
virtual casacore::Bool defineImage(SynthesisParamsImage &impars, const SynthesisParamsGrid &gridpars)
A Table intended to hold astronomical data (a set of Measurements).
The base class to represent the Aperture-Term of the Measurement Equation.
refim::ATerm * createTelescopeATerm(const casacore::MeasurementSet &ms, const casacore::Bool &isATermOn)
A class for manipulating groups of components.
virtual casacore::Bool selectData(const SynthesisParamsSelect &selpars)
Copy constructor and assignment operator Imager(const Imager&); Imager& operator=(const Imager&); ...
String: the storage and methods of handling collections of characters.
SynthesisImager()
Default constructor.
Types
Types of known MFrequencies Warning: The order defines the order in the translation matrix FromTo in...
casacore::Block< casacore::CountedPtr< SIImageStore > > createFacetImageStoreList(casacore::CountedPtr< SIImageStore > imagestore, casacore::Int facets)
vi::FrequencySelections fselections_p
casacore::CountedPtr< vi::VisibilityIterator2 > vi_p
casacore::Int facetsStore_p
Interconvert pixel and world coordinates.
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.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.