#include <CubeSkyEquation.h>
Public Member Functions | |
| CubeSkyEquation (SkyModel &sm, VisSet &vs, FTMachine &ft, ComponentFTMachine &cft, Bool noModelCol=False) | |
| CubeSkyEquation (SkyModel &sm, ROVisibilityIterator &vi, FTMachine &ft, ComponentFTMachine &cft, Bool noModelCol=False) | |
| Read only iterator...hence no scratch col. | |
| virtual | ~CubeSkyEquation () |
| virtual void | predict (Bool incremental=False, MS::PredefinedColumns Type=MS::MODEL_DATA) |
| Predict model coherence for the SkyModel. | |
| virtual void | gradientsChiSquared (Bool incremental, Bool commitModel=False) |
| virtual void | initializePutSlice (const VisBuffer &vb, Bool dopsf, Int cubeSlice=0, Int nCubeSlice=1) |
| virtual void | newInitializePutSlice (const VisBuffer &vb, Bool dopsf, Int cubeSlice=0, Int nCubeSlice=1) |
| virtual void | oldInitializePutSlice (const VisBuffer &vb, Bool dopsf, Int cubeSlice=0, Int nCubeSlice=1) |
| virtual void | putSlice (VisBuffer &vb, Bool dopsf, FTMachine::Type col, Int cubeSlice=0, Int nCubeSlice=1) |
| virtual void | finalizePutSlice (const VisBuffer &vb, Bool dopsf, Int cubeSlice=0, Int nCubeSlice=1) |
| virtual void | newFinalizePutSlice (const VisBuffer &vb, Bool dopsf, Int cubeSlice=0, Int nCubeSlice=1) |
| virtual void | oldFinalizePutSlice (const VisBuffer &vb, Bool dopsf, Int cubeSlice=0, Int nCubeSlice=1) |
| void | initializeGetSlice (const VisBuffer &vb, Int row, Bool incremental, Int cubeSlice=0, Int nCubeSlice=1) |
| void | newInitializeGetSlice (const VisBuffer &vb, Int row, Bool incremental, Int cubeSlice=0, Int nCubeSlice=1) |
| void | oldInitializeGetSlice (const VisBuffer &vb, Int row, Bool incremental, Int cubeSlice=0, Int nCubeSlice=1) |
| virtual VisBuffer & | getSlice (VisBuffer &vb, Bool incremental, Int cubeSlice=0, Int nCubeSlice=1) |
| void | finalizeGetSlice () |
| void | isLargeCube (ImageInterface< Complex > &theIm, Int &nCubeSlice) |
| void | makeApproxPSF (PtrBlock< ImageInterface< Float > * > &psfs) |
| void makeApproxPSF(Int model, ImageInterface<Float>& psf); virtual void makeApproxPSF(Int model, ImageInterface<Float>& psf); | |
| virtual void | getCoverageImage (Int model, ImageInterface< Float > &im) |
| Get the flux scale that the ftmachines have if they have. | |
| virtual void | getWeightImage (const Int model, ImageInterface< Float > &weightim) |
| get the weight image from the ftmachines | |
| void | tmpWBNormalizeImage (Bool &dopsf, const Float &pbLimit) |
| Bool | isNewFTM () |
Protected Member Functions | |
| void | configureAsyncIo (ROVisibilityIterator *&oldRvi, VisibilityIterator *&oldWvi) |
| void | makeSimplePSF (PtrBlock< ImageInterface< Float > * > &psfs) |
| Different versions of psf making. | |
| void | makeMosaicPSF (PtrBlock< ImageInterface< Float > * > &psfs) |
| virtual void | fixImageScale () |
| Modify the ggS and Create the imageScale. | |
| void | sliceCube (CountedPtr< ImageInterface< Complex > > &slice, Int model, Int cubeSlice, Int nCubeSlice, Int typeOfCopy=0) |
| Type of copy 0 => a independent image just with coordinates gotten from cImage 1 => a subImage referencing cImage ...no image copy. | |
| void | sliceCube (SubImage< Float > *&slice, ImageInterface< Float > &image, Int cubeSlice, Int nCubeSlice) |
| Bool | getFreqRange (ROVisibilityIterator &vi, const CoordinateSystem &coords, Int slice, Int nslice) |
| frequency range from image | |
| Bool | isNewFTM (FTMachine *) |
Protected Attributes | |
| Block< CountedPtr < ImageInterface< Complex > > > | imGetSlice_p |
| Block< CountedPtr < ImageInterface< Complex > > > | imPutSlice_p |
| Block< Matrix< Float > > | weightSlice_p |
| Slicer | sl_p |
| Int | nchanPerSlice_p |
Private Member Functions | |
| void | init (FTMachine &ft) |
| if skyjones changed in get or put we need to tell put or get respectively about it | |
Private Attributes | |
| Bool | destroyVisibilityIterator_p |
| Bool | internalChangesPut_p |
| Bool | internalChangesGet_p |
| Bool | firstOneChangesPut_p |
| Bool | firstOneChangesGet_p |
| Block< Vector< Int > > | blockNumChanGroup_p |
| Block< Vector< Int > > | blockChanStart_p |
| Block< Vector< Int > > | blockChanWidth_p |
| Block< Vector< Int > > | blockChanInc_p |
| Block< Vector< Int > > | blockSpw_p |
| Block< CountedPtr< FTMachine > > | ftm_p |
| Block< CountedPtr< FTMachine > > | iftm_p |
Definition at line 45 of file CubeSkyEquation.h.
| casa::CubeSkyEquation::CubeSkyEquation | ( | SkyModel & | sm, | |
| VisSet & | vs, | |||
| FTMachine & | ft, | |||
| ComponentFTMachine & | cft, | |||
| Bool | noModelCol = False | |||
| ) |
| casa::CubeSkyEquation::CubeSkyEquation | ( | SkyModel & | sm, | |
| ROVisibilityIterator & | vi, | |||
| FTMachine & | ft, | |||
| ComponentFTMachine & | cft, | |||
| Bool | noModelCol = False | |||
| ) |
Read only iterator...hence no scratch col.
| virtual casa::CubeSkyEquation::~CubeSkyEquation | ( | ) | [virtual] |
| void casa::CubeSkyEquation::configureAsyncIo | ( | ROVisibilityIterator *& | oldRvi, | |
| VisibilityIterator *& | oldWvi | |||
| ) | [protected] |
| void casa::CubeSkyEquation::finalizeGetSlice | ( | ) |
| virtual void casa::CubeSkyEquation::finalizePutSlice | ( | const VisBuffer & | vb, | |
| Bool | dopsf, | |||
| Int | cubeSlice = 0, |
|||
| Int | nCubeSlice = 1 | |||
| ) | [virtual] |
| virtual void casa::CubeSkyEquation::fixImageScale | ( | ) | [protected, virtual] |
Modify the ggS and Create the imageScale.
Reimplemented from casa::SkyEquation.
| virtual void casa::CubeSkyEquation::getCoverageImage | ( | Int | model, | |
| ImageInterface< Float > & | im | |||
| ) | [virtual] |
Get the flux scale that the ftmachines have if they have.
Reimplemented from casa::SkyEquation.
| Bool casa::CubeSkyEquation::getFreqRange | ( | ROVisibilityIterator & | vi, | |
| const CoordinateSystem & | coords, | |||
| Int | slice, | |||
| Int | nslice | |||
| ) | [protected] |
frequency range from image
| virtual VisBuffer& casa::CubeSkyEquation::getSlice | ( | VisBuffer & | vb, | |
| Bool | incremental, | |||
| Int | cubeSlice = 0, |
|||
| Int | nCubeSlice = 1 | |||
| ) | [virtual] |
| virtual void casa::CubeSkyEquation::getWeightImage | ( | const Int | model, | |
| ImageInterface< Float > & | weightim | |||
| ) | [virtual] |
get the weight image from the ftmachines
Reimplemented from casa::SkyEquation.
| virtual void casa::CubeSkyEquation::gradientsChiSquared | ( | Bool | incremental, | |
| Bool | commitModel = False | |||
| ) | [virtual] |
Reimplemented from casa::SkyEquation.
| void casa::CubeSkyEquation::init | ( | FTMachine & | ft | ) | [private] |
if skyjones changed in get or put we need to tell put or get respectively about it
| void casa::CubeSkyEquation::initializeGetSlice | ( | const VisBuffer & | vb, | |
| Int | row, | |||
| Bool | incremental, | |||
| Int | cubeSlice = 0, |
|||
| Int | nCubeSlice = 1 | |||
| ) |
| virtual void casa::CubeSkyEquation::initializePutSlice | ( | const VisBuffer & | vb, | |
| Bool | dopsf, | |||
| Int | cubeSlice = 0, |
|||
| Int | nCubeSlice = 1 | |||
| ) | [virtual] |
| void casa::CubeSkyEquation::isLargeCube | ( | ImageInterface< Complex > & | theIm, | |
| Int & | nCubeSlice | |||
| ) |
| Bool casa::CubeSkyEquation::isNewFTM | ( | FTMachine * | ) | [protected] |
| Bool casa::CubeSkyEquation::isNewFTM | ( | ) | [virtual] |
Reimplemented from casa::SkyEquation.
| void casa::CubeSkyEquation::makeApproxPSF | ( | PtrBlock< ImageInterface< Float > * > & | psfs | ) | [virtual] |
void makeApproxPSF(Int model, ImageInterface<Float>& psf); virtual void makeApproxPSF(Int model, ImageInterface<Float>& psf);
Reimplemented from casa::SkyEquation.
| void casa::CubeSkyEquation::makeMosaicPSF | ( | PtrBlock< ImageInterface< Float > * > & | psfs | ) | [protected] |
| void casa::CubeSkyEquation::makeSimplePSF | ( | PtrBlock< ImageInterface< Float > * > & | psfs | ) | [protected] |
Different versions of psf making.
| virtual void casa::CubeSkyEquation::newFinalizePutSlice | ( | const VisBuffer & | vb, | |
| Bool | dopsf, | |||
| Int | cubeSlice = 0, |
|||
| Int | nCubeSlice = 1 | |||
| ) | [virtual] |
| void casa::CubeSkyEquation::newInitializeGetSlice | ( | const VisBuffer & | vb, | |
| Int | row, | |||
| Bool | incremental, | |||
| Int | cubeSlice = 0, |
|||
| Int | nCubeSlice = 1 | |||
| ) |
| virtual void casa::CubeSkyEquation::newInitializePutSlice | ( | const VisBuffer & | vb, | |
| Bool | dopsf, | |||
| Int | cubeSlice = 0, |
|||
| Int | nCubeSlice = 1 | |||
| ) | [virtual] |
| virtual void casa::CubeSkyEquation::oldFinalizePutSlice | ( | const VisBuffer & | vb, | |
| Bool | dopsf, | |||
| Int | cubeSlice = 0, |
|||
| Int | nCubeSlice = 1 | |||
| ) | [virtual] |
| void casa::CubeSkyEquation::oldInitializeGetSlice | ( | const VisBuffer & | vb, | |
| Int | row, | |||
| Bool | incremental, | |||
| Int | cubeSlice = 0, |
|||
| Int | nCubeSlice = 1 | |||
| ) |
| virtual void casa::CubeSkyEquation::oldInitializePutSlice | ( | const VisBuffer & | vb, | |
| Bool | dopsf, | |||
| Int | cubeSlice = 0, |
|||
| Int | nCubeSlice = 1 | |||
| ) | [virtual] |
| virtual void casa::CubeSkyEquation::predict | ( | Bool | incremental = False, |
|
| MS::PredefinedColumns | Type = MS::MODEL_DATA | |||
| ) | [virtual] |
Predict model coherence for the SkyModel.
If this is incremental then the model visibilities are not reset but are simply added to virtual void predict(Bool incremental=False);
Reimplemented from casa::SkyEquation.
| virtual void casa::CubeSkyEquation::putSlice | ( | VisBuffer & | vb, | |
| Bool | dopsf, | |||
| FTMachine::Type | col, | |||
| Int | cubeSlice = 0, |
|||
| Int | nCubeSlice = 1 | |||
| ) | [virtual] |
| void casa::CubeSkyEquation::sliceCube | ( | SubImage< Float > *& | slice, | |
| ImageInterface< Float > & | image, | |||
| Int | cubeSlice, | |||
| Int | nCubeSlice | |||
| ) | [protected] |
| void casa::CubeSkyEquation::sliceCube | ( | CountedPtr< ImageInterface< Complex > > & | slice, | |
| Int | model, | |||
| Int | cubeSlice, | |||
| Int | nCubeSlice, | |||
| Int | typeOfCopy = 0 | |||
| ) | [protected] |
Type of copy 0 => a independent image just with coordinates gotten from cImage 1 => a subImage referencing cImage ...no image copy.
| void casa::CubeSkyEquation::tmpWBNormalizeImage | ( | Bool & | dopsf, | |
| const Float & | pbLimit | |||
| ) |
Block< Vector<Int> > casa::CubeSkyEquation::blockChanInc_p [private] |
Definition at line 132 of file CubeSkyEquation.h.
Block< Vector<Int> > casa::CubeSkyEquation::blockChanStart_p [private] |
Definition at line 131 of file CubeSkyEquation.h.
Block< Vector<Int> > casa::CubeSkyEquation::blockChanWidth_p [private] |
Definition at line 132 of file CubeSkyEquation.h.
Block< Vector<Int> > casa::CubeSkyEquation::blockNumChanGroup_p [private] |
Definition at line 131 of file CubeSkyEquation.h.
Block<Vector<Int> > casa::CubeSkyEquation::blockSpw_p [private] |
Definition at line 133 of file CubeSkyEquation.h.
Bool casa::CubeSkyEquation::destroyVisibilityIterator_p [private] |
Definition at line 124 of file CubeSkyEquation.h.
Bool casa::CubeSkyEquation::firstOneChangesGet_p [private] |
Definition at line 129 of file CubeSkyEquation.h.
Bool casa::CubeSkyEquation::firstOneChangesPut_p [private] |
Definition at line 128 of file CubeSkyEquation.h.
Block<CountedPtr<FTMachine> > casa::CubeSkyEquation::ftm_p [private] |
Definition at line 134 of file CubeSkyEquation.h.
Block<CountedPtr<FTMachine> > casa::CubeSkyEquation::iftm_p [private] |
Definition at line 135 of file CubeSkyEquation.h.
Block<CountedPtr<ImageInterface<Complex> > > casa::CubeSkyEquation::imGetSlice_p [protected] |
Definition at line 104 of file CubeSkyEquation.h.
Block<CountedPtr<ImageInterface<Complex> > > casa::CubeSkyEquation::imPutSlice_p [protected] |
Definition at line 105 of file CubeSkyEquation.h.
Bool casa::CubeSkyEquation::internalChangesGet_p [private] |
Definition at line 127 of file CubeSkyEquation.h.
Bool casa::CubeSkyEquation::internalChangesPut_p [private] |
Definition at line 126 of file CubeSkyEquation.h.
Int casa::CubeSkyEquation::nchanPerSlice_p [protected] |
Definition at line 108 of file CubeSkyEquation.h.
Slicer casa::CubeSkyEquation::sl_p [protected] |
Definition at line 107 of file CubeSkyEquation.h.
Block<Matrix<Float> > casa::CubeSkyEquation::weightSlice_p [protected] |
Definition at line 106 of file CubeSkyEquation.h.
1.6.1