#include <SynthesisImagerVi2.h>
Public Member Functions | |
SynthesisImagerVi2 () | |
Default constructor. | |
virtual | ~SynthesisImagerVi2 () |
virtual Bool | selectData (const SynthesisParamsSelect &selpars) |
Copy constructor and assignment operator Imager(const Imager&); Imager& operator=(const Imager&);. | |
virtual Bool | defineImage (SynthesisParamsImage &impars, const SynthesisParamsGrid &gridpars) |
virtual Bool | weight (const String &type="natural", const String &rmode="norm", const Quantity &noise=Quantity(0.0,"Jy"), const Double robust=0.0, const Quantity &fieldofview=Quantity(0.0,"arcsec"), const Int npixels=0, const Bool multiField=False, const String &filtertype=String("Gaussian"), const Quantity &filterbmaj=Quantity(0.0,"deg"), const Quantity &filterbmin=Quantity(0.0,"deg"), const Quantity &filterbpa=Quantity(0.0,"deg")) |
Bool | setWeightDensity () |
void | predictModel () |
void | dryGridding (const Vector< String > &cfList) |
void makeImage(); | |
void | fillCFCache (const Vector< String > &cfList, const String &ftmName, const String &cfcPath, const Bool &psTermOn, const Bool &aTermOn) |
void | reloadCFCache () |
Protected Member Functions | |
void | appendToMapperList (String imagename, CoordinateSystem &csys, IPosition imshape, CountedPtr< refim::FTMachine > &ftm, CountedPtr< refim::FTMachine > &iftm, Quantity distance=Quantity(0.0,"m"), Int facets=1, Int chanchunks=1, const Bool overwrite=False, String mappertype=String("default"), Float padding=1.0, uInt ntaylorterms=1, Vector< String > startmodel=Vector< String >(0)) |
virtual void | unlockMSs () |
virtual void | createVisSet (const Bool writeaccess=False) |
void | createFTMachine (CountedPtr< casa::refim::FTMachine > &theFT, CountedPtr< casa::refim::FTMachine > &theIFT, const String &ftname, const uInt nTaylorTerms=1, const String mType="default", const Int facets=1, const Int wprojplane=1, const Float padding=1.0, const Bool useAutocorr=False, const Bool useDoublePrec=True, const String gridFunction=String("SF"), const Bool aTermOn=True, const Bool psTermOn=True, const Bool mTermOn=False, const Bool wbAWP=True, const String cfCache="", const Bool doPointing=False, const Bool doPBCorr=True, const Bool conjBeams=True, const Float computePAStep=360.0, const Float rotatePAStep=5.0, const String interpolation=String("linear"), const Bool freqFrameValid=True, const Int cache=1000000000, const Int tile=16, const String stokes="I", const String imageNamePrefix="") |
void | createAWPFTMachine (CountedPtr< refim::FTMachine > &theFT, CountedPtr< refim::FTMachine > &theIFT, const String &ftmName, const Int facets, const Int wprojPlane, const Float padding, const Bool useAutocorr, const Bool useDoublePrec, const String gridFunction, const Bool aTermOn, const Bool psTermOn, const Bool mTermOn, const Bool wbAWP, const String cfCache, const Bool doPointing, const Bool doPBCorr, const Bool conjBeams, const Float computePAStep, const Float rotatePAStep, const Int cache, const Int tile, const String imageNamePrefix="") |
virtual void | runMajorCycle (const Bool dopsf=False, const Bool savemodel=False) |
Do the major cycle. | |
virtual void | runMajorCycle2 (const Bool dopsf=False, const Bool savemodel=False) |
Version of major cycle code with mappers in a loop outside vi/vb. | |
void | createMosFTMachine (CountedPtr< casa::refim::FTMachine > &theFT, CountedPtr< casa::refim::FTMachine > &theIFT, const Float padding, const Bool useAutoCorr, const Bool useDoublePrec, const Float rotatePAStep, const String Stokes="I") |
CountedPtr< SIMapper > | createSIMapper (String mappertype, CountedPtr< SIImageStore > imagestore, CountedPtr< refim::FTMachine > ftmachine, CountedPtr< refim::FTMachine > iftmachine, uInt ntaylorterms=1) |
Bool | makePB () |
Bool | makePrimaryBeam (PBMath &pbMath) |
Protected Attributes | |
Block< const MeasurementSet * > | mss_p |
Other Options. | |
vi::FrequencySelections | fselections_p |
CountedPtr < vi::VisibilityIterator2 > | vi_p |
Definition at line 39 of file SynthesisImagerVi2.h.
casa::SynthesisImagerVi2::SynthesisImagerVi2 | ( | ) |
Default constructor.
virtual casa::SynthesisImagerVi2::~SynthesisImagerVi2 | ( | ) | [virtual] |
void casa::SynthesisImagerVi2::appendToMapperList | ( | String | imagename, | |
CoordinateSystem & | csys, | |||
IPosition | imshape, | |||
CountedPtr< refim::FTMachine > & | ftm, | |||
CountedPtr< refim::FTMachine > & | iftm, | |||
Quantity | distance = Quantity(0.0,"m") , |
|||
Int | facets = 1 , |
|||
Int | chanchunks = 1 , |
|||
const Bool | overwrite = False , |
|||
String | mappertype = String("default") , |
|||
Float | padding = 1.0 , |
|||
uInt | ntaylorterms = 1 , |
|||
Vector< String > | startmodel = Vector< String >(0) | |||
) | [protected] |
void casa::SynthesisImagerVi2::createAWPFTMachine | ( | CountedPtr< refim::FTMachine > & | theFT, | |
CountedPtr< refim::FTMachine > & | theIFT, | |||
const String & | ftmName, | |||
const Int | facets, | |||
const Int | wprojPlane, | |||
const Float | padding, | |||
const Bool | useAutocorr, | |||
const Bool | useDoublePrec, | |||
const String | gridFunction, | |||
const Bool | aTermOn, | |||
const Bool | psTermOn, | |||
const Bool | mTermOn, | |||
const Bool | wbAWP, | |||
const String | cfCache, | |||
const Bool | doPointing, | |||
const Bool | doPBCorr, | |||
const Bool | conjBeams, | |||
const Float | computePAStep, | |||
const Float | rotatePAStep, | |||
const Int | cache, | |||
const Int | tile, | |||
const String | imageNamePrefix = "" | |||
) | [protected] |
wprojPlane | ---------------------------- | |
aTermOn | --------------------------- |
void casa::SynthesisImagerVi2::createFTMachine | ( | CountedPtr< casa::refim::FTMachine > & | theFT, | |
CountedPtr< casa::refim::FTMachine > & | theIFT, | |||
const String & | ftname, | |||
const uInt | nTaylorTerms = 1 , |
|||
const String | mType = "default" , |
|||
const Int | facets = 1 , |
|||
const Int | wprojplane = 1 , |
|||
const Float | padding = 1.0 , |
|||
const Bool | useAutocorr = False , |
|||
const Bool | useDoublePrec = True , |
|||
const String | gridFunction = String("SF") , |
|||
const Bool | aTermOn = True , |
|||
const Bool | psTermOn = True , |
|||
const Bool | mTermOn = False , |
|||
const Bool | wbAWP = True , |
|||
const String | cfCache = "" , |
|||
const Bool | doPointing = False , |
|||
const Bool | doPBCorr = True , |
|||
const Bool | conjBeams = True , |
|||
const Float | computePAStep = 360.0 , |
|||
const Float | rotatePAStep = 5.0 , |
|||
const String | interpolation = String("linear") , |
|||
const Bool | freqFrameValid = True , |
|||
const Int | cache = 1000000000 , |
|||
const Int | tile = 16 , |
|||
const String | stokes = "I" , |
|||
const String | imageNamePrefix = "" | |||
) | [protected] |
wprojplane | ------------------------------ | |
aTermOn | ------------------------------ |
void casa::SynthesisImagerVi2::createMosFTMachine | ( | CountedPtr< casa::refim::FTMachine > & | theFT, | |
CountedPtr< casa::refim::FTMachine > & | theIFT, | |||
const Float | padding, | |||
const Bool | useAutoCorr, | |||
const Bool | useDoublePrec, | |||
const Float | rotatePAStep, | |||
const String | Stokes = "I" | |||
) | [protected] |
CountedPtr<SIMapper> casa::SynthesisImagerVi2::createSIMapper | ( | String | mappertype, | |
CountedPtr< SIImageStore > | imagestore, | |||
CountedPtr< refim::FTMachine > | ftmachine, | |||
CountedPtr< refim::FTMachine > | iftmachine, | |||
uInt | ntaylorterms = 1 | |||
) | [protected] |
ftmachine | / make this inside !!!!! |
virtual void casa::SynthesisImagerVi2::createVisSet | ( | const Bool | writeaccess = False |
) | [protected, virtual] |
Reimplemented from casa::SynthesisImager.
virtual Bool casa::SynthesisImagerVi2::defineImage | ( | SynthesisParamsImage & | impars, | |
const SynthesisParamsGrid & | gridpars | |||
) | [virtual] |
Reimplemented from casa::SynthesisImager.
void casa::SynthesisImagerVi2::dryGridding | ( | const Vector< String > & | cfList | ) | [virtual] |
void casa::SynthesisImagerVi2::fillCFCache | ( | const Vector< String > & | cfList, | |
const String & | ftmName, | |||
const String & | cfcPath, | |||
const Bool & | psTermOn, | |||
const Bool & | aTermOn | |||
) | [virtual] |
Reimplemented from casa::SynthesisImager.
Bool casa::SynthesisImagerVi2::makePB | ( | ) | [protected, virtual] |
Reimplemented from casa::SynthesisImager.
Bool casa::SynthesisImagerVi2::makePrimaryBeam | ( | PBMath & | pbMath | ) | [protected, 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 Bool | dopsf = False , |
|
const Bool | savemodel = False | |||
) | [protected, virtual] |
Do the major cycle.
Reimplemented from casa::SynthesisImager.
virtual void casa::SynthesisImagerVi2::runMajorCycle2 | ( | const Bool | dopsf = False , |
|
const Bool | savemodel = False | |||
) | [protected, virtual] |
Version of major cycle code with mappers in a loop outside vi/vb.
Reimplemented from casa::SynthesisImager.
virtual Bool casa::SynthesisImagerVi2::selectData | ( | const SynthesisParamsSelect & | selpars | ) | [virtual] |
Copy constructor and assignment operator Imager(const Imager&); Imager& operator=(const Imager&);.
Reimplemented from casa::SynthesisImager.
Bool casa::SynthesisImagerVi2::setWeightDensity | ( | ) | [virtual] |
Reimplemented from casa::SynthesisImager.
virtual void casa::SynthesisImagerVi2::unlockMSs | ( | ) | [protected, virtual] |
Reimplemented from casa::SynthesisImager.
virtual Bool casa::SynthesisImagerVi2::weight | ( | const String & | type = "natural" , |
|
const String & | rmode = "norm" , |
|||
const Quantity & | noise = Quantity(0.0,"Jy") , |
|||
const Double | robust = 0.0 , |
|||
const Quantity & | fieldofview = Quantity(0.0,"arcsec") , |
|||
const Int | npixels = 0 , |
|||
const Bool | multiField = False , |
|||
const String & | filtertype = String("Gaussian") , |
|||
const Quantity & | filterbmaj = Quantity(0.0,"deg") , |
|||
const Quantity & | filterbmin = Quantity(0.0,"deg") , |
|||
const Quantity & | filterbpa = Quantity(0.0,"deg") | |||
) | [virtual] |
Reimplemented from casa::SynthesisImager.
Reimplemented from casa::SynthesisImager.
Definition at line 160 of file SynthesisImagerVi2.h.
Block<const MeasurementSet *> casa::SynthesisImagerVi2::mss_p [protected] |
Other Options.
Reimplemented from casa::SynthesisImager.
Definition at line 159 of file SynthesisImagerVi2.h.
CountedPtr<vi::VisibilityIterator2> casa::SynthesisImagerVi2::vi_p [protected] |
Reimplemented from casa::SynthesisImager.
Definition at line 161 of file SynthesisImagerVi2.h.