casa
5.7.0-16
|
defines interface for the Fourier Transform Machine More...
#include <FTMachine.h>
Public Types | |
enum | Type { OBSERVED, MODEL, CORRECTED, RESIDUAL, PSF, COVERAGE, N_types, DEFAULT } |
Types of known Images that may be made using the makeImage method. More... | |
Public Member Functions | |
FTMachine () | |
FTMachine (casacore::CountedPtr< CFCache > &cfcache, casacore::CountedPtr< ConvolutionFunction > &cfctor) | |
FTMachine (const FTMachine &other) | |
FTMachine & | operator= (const FTMachine &other) |
void | setBasePrivates (const FTMachine &other) |
virtual | ~FTMachine () |
virtual FTMachine * | cloneFTM () |
clone copy the default cloner clones via a Record copy More... | |
virtual void | initializeToVis (casacore::ImageInterface< casacore::Complex > &image, const VisBuffer &vb)=0 |
Initialize transform to Visibility plane. More... | |
virtual void | initializeToVis (casacore::Block< casacore::CountedPtr< casacore::ImageInterface< casacore::Complex > > > &compImageVec, casacore::PtrBlock< casacore::SubImage< casacore::Float > * > &modelImageVec, casacore::PtrBlock< casacore::SubImage< casacore::Float > * > &weightImageVec, casacore::PtrBlock< casacore::SubImage< casacore::Float > * > &fluxScaleVec, casacore::Block< casacore::Matrix< casacore::Float > > &weightsVec, const VisBuffer &vb) |
Vectorized InitializeToVis. More... | |
virtual void | initializeToVisNew (const VisBuffer &vb, casacore::CountedPtr< SIImageStore > imstore) |
virtual void | finalizeToVis ()=0 |
Finalize transform to Visibility plane This is mostly a no-op, and is not-even called from CubeSkyEquation. More... | |
virtual void | initializeToSky (casacore::ImageInterface< casacore::Complex > &image, casacore::Matrix< casacore::Float > &weight, const VisBuffer &vb)=0 |
Note : No vectorized form of finalizeToVis yet.... More... | |
virtual void | initializeToSky (casacore::Block< casacore::CountedPtr< casacore::ImageInterface< casacore::Complex > > > &compImageVec, casacore::Block< casacore::Matrix< casacore::Float > > &weightsVec, const VisBuffer &vb, const casacore::Bool dopsf=false) |
Vectorized InitializeToSky. More... | |
virtual void | initializeToSkyNew (const casacore::Bool dopsf, const VisBuffer &vb, casacore::CountedPtr< SIImageStore > imstore) |
virtual void | finalizeToSky ()=0 |
Finalize transform to Sky plane More... | |
virtual void | finalizeToSky (casacore::ImageInterface< casacore::Complex > &iimage) |
virtual void | finalizeToSky (casacore::Block< casacore::CountedPtr< casacore::ImageInterface< casacore::Complex > > > &compImageVec, casacore::PtrBlock< casacore::SubImage< casacore::Float > * > &resImageVec, casacore::PtrBlock< casacore::SubImage< casacore::Float > * > &weightImageVec, casacore::PtrBlock< casacore::SubImage< casacore::Float > * > &fluxScaleVec, casacore::Bool dopsf, casacore::Block< casacore::Matrix< casacore::Float > > &weightsVec, const VisBuffer &vb) |
Vectorized finalizeToSky. More... | |
virtual void | finalizeToSkyNew (casacore::Bool dopsf, const VisBuffer &vb, casacore::CountedPtr< SIImageStore > imstore) |
virtual void | get (VisBuffer &vb, casacore::Int row=-1)=0 |
More... | |
virtual void | put (const VisBuffer &vb, casacore::Int row=-1, casacore::Bool dopsf=false, FTMachine::Type type=FTMachine::OBSERVED)=0 |
Put coherence to grid. More... | |
virtual void | put (VisBuffer &vb, casacore::Int row=-1, casacore::Bool dopsf=false, FTMachine::Type type=FTMachine::OBSERVED) |
Non const vb version - so that weights can be modified in-place Currently, used only by MultiTermFT. More... | |
virtual void | correlationToStokes (casacore::ImageInterface< casacore::Complex > &compImage, casacore::ImageInterface< casacore::Float > &resImage, const casacore::Bool dopsf) |
More... | |
virtual void | stokesToCorrelation (casacore::ImageInterface< casacore::Float > &modelImage, casacore::ImageInterface< casacore::Complex > &compImage) |
virtual void | normalizeImage (casacore::Lattice< casacore::Complex > &, const casacore::Matrix< casacore::Double > &, casacore::Lattice< casacore::Float > &, casacore::Bool) |
virtual void | normalizeImage (casacore::ImageInterface< casacore::Float > &skyImage, casacore::Matrix< casacore::Float > &sumOfWts, casacore::ImageInterface< casacore::Float > &sensitivityImage, casacore::Bool dopsf, casacore::Float pblimit, casacore::Int normtype) |
virtual casacore::Bool | useWeightImage () |
All FTMachines that fill weightimage, need to set this. More... | |
virtual casacore::Bool | isSkyJonesSet () |
virtual casacore::Bool | isSkyJonesChanged (VisBuffer &vb, casacore::Int row) |
virtual void | setSkyJones (casacore::Vector< casacore::CountedPtr< SkyJones > > &sj) |
Set SkyJones if image domain corrections /applycation are needed To reset the the FTMachine for stopping image based correction/applycation set in a casacore::Vector of size 0. More... | |
casacore::Bool | changedSkyJonesLogic (const VisBuffer &vb, casacore::Bool &firstRow, casacore::Bool &internalRow) |
template<typename T > | |
void | getGrid (casacore::Array< T > &thegrid) |
More... | |
virtual casacore::ImageInterface < casacore::Complex > & | getImage (casacore::Matrix< casacore::Float > &, casacore::Bool normalize=true)=0 |
Get the final image. More... | |
virtual const casacore::CountedPtr < ConvolutionFunction > & | getAWConvFunc () |
virtual void | findConvFunction (const casacore::ImageInterface< casacore::Complex > &, const VisBuffer &) |
virtual void | getWeightImage (casacore::ImageInterface< casacore::Float > &weightImage, casacore::Matrix< casacore::Float > &weights)=0 |
Get the final weights image. More... | |
virtual void | getFluxImage (casacore::ImageInterface< casacore::Float > &image) |
Get a flux (divide by this to get a flux density correct image) image if there is one. More... | |
virtual void | makeImage (FTMachine::Type type, VisSet &vs, casacore::ImageInterface< casacore::Complex > &image, casacore::Matrix< casacore::Float > &weight) |
Make the entire image. More... | |
virtual void | makeImage (FTMachine::Type type, ROVisibilityIterator &vi, casacore::ImageInterface< casacore::Complex > &image, casacore::Matrix< casacore::Float > &weight) |
Make the entire image using a ROVisIter. More... | |
void | girarUVW (casacore::Matrix< casacore::Double > &uvw, casacore::Vector< casacore::Double > &dphase, const VisBuffer &vb) |
More... | |
void | rotateUVW (casacore::Matrix< casacore::Double > &uvw, casacore::Vector< casacore::Double > &dphase, const VisBuffer &vb) |
void | refocus (casacore::Matrix< casacore::Double > &uvw, const casacore::Vector< casacore::Int > &ant1, const casacore::Vector< casacore::Int > &ant2, casacore::Vector< casacore::Double > &dphase, const VisBuffer &vb) |
Refocus on a finite distance. More... | |
virtual casacore::Bool | toRecord (casacore::String &error, casacore::RecordInterface &outRecord, casacore::Bool withImage=false, const casacore::String diskimagename="") |
Save and restore the FTMachine to and from a record. More... | |
virtual casacore::Bool | fromRecord (casacore::String &error, const casacore::RecordInterface &inRecord) |
virtual casacore::Bool | changed (const VisBuffer &vb) |
Has this operator changed since the last application? More... | |
virtual casacore::Bool | isFourier () |
Can this FTMachine be represented by Fourier convolutions? More... | |
casacore::Bool | setSpw (casacore::Vector< casacore::Int > &spw, casacore::Bool validFrame) |
set spw for cube that will be used; More... | |
virtual casacore::Bool | doublePrecGrid () |
return whether the ftmachine is using a double precision grid More... | |
virtual void | setNoPadding (casacore::Bool nopad) |
To make sure no padding is used in certain gridders. More... | |
virtual casacore::String | name () const =0 |
Return the name of the machine. More... | |
void | setLocation (const casacore::MPosition &loc) |
set and get the location used for frame More... | |
casacore::MPosition & | getLocation () |
virtual void | setMovingSource (const casacore::String &sourcename) |
set a moving source aka planets or comets => adjust phase center on the fly for gridding More... | |
virtual void | setMovingSource (const casacore::MDirection &mdir) |
void | setPhaseCenterTime (const casacore::Double time) |
set and get Time to calculate phasecenter -1.0 means using the time available at each iteration..this is used when the phasecenter in the field table is either a polynomial or has a ephemerides tables associated with it Using double in the units and epoch-frame of the ms(s)..caller is responsible for conversion More... | |
casacore::Double | getPhaseCenterTime () |
virtual void | reset () |
reset stuff in an FTMachine More... | |
virtual void | setFreqInterpolation (const casacore::String &method) |
set frequency interpolation type More... | |
virtual void | setPointingDirColumn (const casacore::String &column="DIRECTION") |
tell ftmachine which Pointing table column to use for Direction Mosaic or Single dish ft use this for example More... | |
virtual casacore::String | getPointingDirColumnInUse () |
virtual void | setSpwChanSelection (const casacore::Cube< casacore::Int > &spwchansels) |
virtual casacore::Cube < casacore::Int > | getSpwChanSelection () |
virtual void | setSpwFreqSelection (const casacore::Matrix< casacore::Double > &spwfreqs) |
virtual casacore::Matrix < casacore::Double > | getSpwFreqSelection () |
virtual void | setMiscInfo (const casacore::Int qualifier)=0 |
set the order of the Taylor term for MFS this is to tell A-casacore::Projection to qualify the accumulated avgPB for each Taylor term in the CFCache. More... | |
virtual void | setCanComputeResiduals (casacore::Bool &b) |
virtual casacore::Bool | canComputeResiduals () |
virtual void | ComputeResiduals (VisBuffer &vb, casacore::Bool useCorrected)=0 |
Make the VB and VBStore interefaces for the interim re-factoring work. More... | |
virtual casacore::Float | getPBLimit () |
void | setnumthreads (casacore::Int n) |
virtual void ComputeResiduals(VBStore& vb)=0; get and set numthreads More... | |
casacore::Int | getnumthreads () |
virtual void | setCFCache (casacore::CountedPtr< CFCache > &cfc, const casacore::Bool resetCFC=true) |
casacore::CountedPtr< CFCache > | getCFCache () |
casacore::String | getCacheDir () |
virtual void | setDryRun (casacore::Bool val) |
virtual casacore::Bool | dryRun () |
virtual casacore::Bool | isUsingCFCache () |
Static Public Member Functions | |
static void | locateuvw (const casacore::Double *&uvw, const casacore::Double *&dphase, const casacore::Double *&freq, const casacore::Int &nchan, const casacore::Double *&scale, const casacore::Double *&offset, const casacore::Int &sampling, casacore::Int *&loc, casacore::Int *&off, casacore::Complex *&phasor, const casacore::Int &row, const casacore::Bool &doW=false) |
helper function for openmp to call...no private dependency More... | |
Public Attributes | |
casacore::Bool | isDryRun |
Protected Member Functions | |
casacore::LogIO & | logIO () |
virtual void | initMaps (const VisBuffer &vb) |
virtual void | initPolInfo (const VisBuffer &vb) |
virtual void | ok () |
virtual void | gridOk (casacore::Int gridsupport) |
check if image is big enough for gridding More... | |
casacore::Bool | matchChannel (const casacore::Int &spw, const VisBuffer &vb) |
casacore::Bool | matchAllSpwChans (const VisBuffer &vb) |
redo all spw chan match especially if ms has changed underneath More... | |
virtual casacore::Bool | interpolateFrequencyTogrid (const VisBuffer &vb, const casacore::Matrix< casacore::Float > &wt, casacore::Cube< casacore::Complex > &data, casacore::Cube< casacore::Int > &flag, casacore::Matrix< casacore::Float > &weight, FTMachine::Type type=FTMachine::OBSERVED) |
interpolate visibility data of vb to grid frequency definition flag will be set the one as described in interpolateArray1D return false if no interpolation is done...for e.g for nearest case More... | |
virtual casacore::Bool | interpolateFrequencyFromgrid (VisBuffer &vb, casacore::Cube< casacore::Complex > &data, FTMachine::Type type=FTMachine::MODEL) |
degridded data interpolated back onto visibilities More... | |
virtual void | getInterpolateArrays (const VisBuffer &vb, casacore::Cube< casacore::Complex > &data, casacore::Cube< casacore::Int > &flag) |
Interpolate visibilities to be degridded upon. More... | |
void | setSpectralFlag (const VisBuffer &vb, casacore::Cube< casacore::Bool > &modflagcube) |
casacore::Bool | saveMeasure (casacore::RecordInterface &rec, const casacore::String &name, casacore::String &error, const casacore::Measure &ms) |
helper to save Measures in a record More... | |
Private Member Functions | |
void | swapyz (casacore::Cube< casacore::Complex > &out, const casacore::Cube< casacore::Complex > &in) |
Some temporary wasteful function for swapping axes because we don't Interpolation along the second axis...will need to implement interpolation on y axis of a cube. More... | |
void | swapyz (casacore::Cube< casacore::Complex > &out, const casacore::Cube< casacore::Bool > &outFlag, const casacore::Cube< casacore::Complex > &in) |
void | swapyz (casacore::Cube< casacore::Bool > &out, const casacore::Cube< casacore::Bool > &in) |
void | convUVW (casacore::Double &dphase, casacore::Vector< casacore::Double > &thisrow) |
Friends | |
class | VisModelData |
class | MultiTermFT |
class | MultiTermFTNew |
defines interface for the Fourier Transform Machine
Public interface
FTMachine is a Machine for Fourier Transforms
The SkyEquation needs to be able to perform Fourier transforms on visibility data. FTMachine allows efficient Fourier Transform processing using a VisBuffer which encapsulates a chunk of visibility (typically all baselines for one time) together with all the information needed for processing (e.g. UVW coordinates).
A simple example of a FTMachine is found in GridFT. See the example for SkyModel.
Define an interface to allow efficient processing of chunks of visibility data
Note that the image must be Complex. It must contain the casacore::Complex casacore::Stokes values (e.g. RR,RL,LR,LL). FTMachine uses the image coordinate system to determine mappings between the polarization and frequency values in the casacore::PagedImage and in the VisBuffer.
Definition at line 120 of file FTMachine.h.
Types of known Images that may be made using the makeImage method.
Enumerator | |
---|---|
OBSERVED | |
MODEL | |
CORRECTED | |
RESIDUAL | |
PSF | |
COVERAGE | |
N_types | |
DEFAULT |
Definition at line 125 of file FTMachine.h.
casa::FTMachine::FTMachine | ( | ) |
casa::FTMachine::FTMachine | ( | casacore::CountedPtr< CFCache > & | cfcache, |
casacore::CountedPtr< ConvolutionFunction > & | cfctor | ||
) |
casa::FTMachine::FTMachine | ( | const FTMachine & | other | ) |
|
virtual |
|
inlinevirtual |
Definition at line 372 of file FTMachine.h.
References canComputeResiduals_p.
|
virtual |
Has this operator changed since the last application?
Reimplemented in casa::nPBWProjectFT, casa::SDGrid, and casa::GridBoth.
casacore::Bool casa::FTMachine::changedSkyJonesLogic | ( | const VisBuffer & | vb, |
casacore::Bool & | firstRow, | ||
casacore::Bool & | internalRow | ||
) |
|
virtual |
clone copy the default cloner clones via a Record copy
Reimplemented in casa::MultiTermFTNew, casa::WProjectFT, casa::GridFT, casa::SetJyGridFT, casa::AWProjectWBFTNew, and casa::MosaicFTNew.
|
pure virtual |
Make the VB and VBStore interefaces for the interim re-factoring work.
Finally removed the VB interface.
Implemented in casa::AWProjectFT, casa::nPBWProjectFT, casa::MosaicFT, casa::WProjectFT, casa::rGridFT, casa::GridFT, casa::rGridFT, casa::SDGrid, casa::GridBoth, casa::FixVis, casa::MultiTermFTNew, casa::NewMultiTermFT, and casa::MultiTermFT.
|
private |
|
virtual |
|
virtual |
return whether the ftmachine is using a double precision grid
|
inlinevirtual |
Definition at line 392 of file FTMachine.h.
References isDryRun.
|
pure virtual |
Finalize transform to Sky plane
Implemented in casa::AWProjectFT, casa::FixVis, casa::nPBWProjectFT, casa::WProjectFT, casa::WOnlyProjectFT, casa::rGridFT, casa::GridFT, casa::rGridFT, casa::SDGrid, casa::GridBoth, casa::AWProjectWBFT, casa::MultiTermFTNew, casa::NewMultiTermFT, casa::PBMosaicFT, and casa::MultiTermFT.
|
inlinevirtual |
Definition at line 193 of file FTMachine.h.
|
virtual |
Vectorized finalizeToSky.
Reimplemented in casa::NewMultiTermFT.
|
virtual |
Reimplemented in casa::MultiTermFTNew.
|
pure virtual |
Finalize transform to Visibility plane This is mostly a no-op, and is not-even called from CubeSkyEquation.
Implemented in casa::AWProjectFT, casa::FixVis, casa::nPBWProjectFT, casa::WProjectFT, casa::WOnlyProjectFT, casa::rGridFT, casa::GridFT, casa::rGridFT, casa::SDGrid, casa::MosaicFT, casa::GridBoth, casa::MultiTermFTNew, casa::NewMultiTermFT, and casa::MultiTermFT.
|
inlinevirtual |
Reimplemented in casa::AWProjectFT, casa::nPBWProjectFT, casa::WOnlyProjectFT, casa::WProjectFT, and casa::MosaicFT.
Definition at line 272 of file FTMachine.h.
|
virtual |
|
pure virtual |
Get actual coherence from grid
Implemented in casa::AWProjectFT, casa::nPBWProjectFT, casa::WOnlyProjectFT, casa::WProjectFT, casa::rGridFT, casa::GridFT, casa::FixVis, casa::rGridFT, casa::SDGrid, casa::MosaicFT, casa::GridBoth, casa::MultiTermFTNew, casa::SetJyGridFT, casa::NewMultiTermFT, and casa::MultiTermFT.
|
inlinevirtual |
Definition at line 270 of file FTMachine.h.
References convFuncCtor_p.
|
inline |
Definition at line 385 of file FTMachine.h.
References cfCache_p.
|
inline |
Definition at line 384 of file FTMachine.h.
References cfCache_p.
|
inlinevirtual |
Get a flux (divide by this to get a flux density correct image) image if there is one.
Reimplemented in casa::MosaicFT.
Definition at line 279 of file FTMachine.h.
void casa::FTMachine::getGrid | ( | casacore::Array< T > & | thegrid | ) |
Get the gridded visibilities or weight
|
pure virtual |
Get the final image.
Implemented in casa::AWProjectFT, casa::nPBWProjectFT, casa::WOnlyProjectFT, casa::WProjectFT, casa::rGridFT, casa::GridFT, casa::rGridFT, casa::SDGrid, casa::MosaicFT, casa::GridBoth, casa::FixVis, casa::MultiTermFTNew, casa::NewMultiTermFT, casa::AWProjectWBFT, casa::MultiTermFT, casa::MultiTermAWProjectWBFT, casa::PBMosaicFT, and casa::MosaicFTNew.
|
protectedvirtual |
Interpolate visibilities to be degridded upon.
casacore::MPosition& casa::FTMachine::getLocation | ( | ) |
casacore::Int casa::FTMachine::getnumthreads | ( | ) |
|
inlinevirtual |
Reimplemented in casa::AWProjectFT.
Definition at line 377 of file FTMachine.h.
References pbLimit_p.
|
inline |
Definition at line 348 of file FTMachine.h.
References phaseCenterTime_p.
|
virtual |
|
inlinevirtual |
Definition at line 362 of file FTMachine.h.
References spwChanSelFlag_p.
|
inlinevirtual |
Definition at line 364 of file FTMachine.h.
References spwFreqSel_p.
|
pure virtual |
Get the final weights image.
Implemented in casa::AWProjectFT, casa::nPBWProjectFT, casa::WProjectFT, casa::rGridFT, casa::GridFT, casa::rGridFT, casa::SDGrid, casa::MosaicFT, casa::GridBoth, casa::FixVis, casa::MultiTermFTNew, casa::NewMultiTermFT, casa::MultiTermFT, and casa::MosaicFTNew.
void casa::FTMachine::girarUVW | ( | casacore::Matrix< casacore::Double > & | uvw, |
casacore::Vector< casacore::Double > & | dphase, | ||
const VisBuffer & | vb | ||
) |
Rotate the uvw from the observed phase center to the desired phase center.
|
protectedvirtual |
check if image is big enough for gridding
|
pure virtual |
Note : No vectorized form of finalizeToVis yet....
Initialize transform to Sky plane
Implemented in casa::AWProjectFT, casa::FixVis, casa::nPBWProjectFT, casa::WProjectFT, casa::WOnlyProjectFT, casa::rGridFT, casa::GridFT, casa::rGridFT, casa::SDGrid, casa::MosaicFT, casa::GridBoth, casa::AWProjectWBFT, casa::MultiTermFTNew, casa::PBMosaicFT, casa::NewMultiTermFT, and casa::MultiTermFT.
|
virtual |
Vectorized InitializeToSky.
Reimplemented in casa::NewMultiTermFT.
|
virtual |
Reimplemented in casa::MultiTermFTNew.
|
pure virtual |
Initialize transform to Visibility plane.
Implemented in casa::AWProjectFT, casa::FixVis, casa::WProjectFT, casa::nPBWProjectFT, casa::rGridFT, casa::GridFT, casa::WOnlyProjectFT, casa::rGridFT, casa::SDGrid, casa::MosaicFT, casa::GridBoth, casa::SetJyGridFT, casa::MultiTermFT, casa::MultiTermFTNew, and casa::NewMultiTermFT.
|
virtual |
Vectorized InitializeToVis.
Reimplemented in casa::AWProjectFT, and casa::NewMultiTermFT.
|
virtual |
Reimplemented in casa::MultiTermFTNew.
|
protectedvirtual |
Reimplemented in casa::MultiTermFTNew, and casa::MultiTermFT.
|
protectedvirtual |
|
protectedvirtual |
degridded data interpolated back onto visibilities
|
protectedvirtual |
interpolate visibility data of vb to grid frequency definition flag will be set the one as described in interpolateArray1D return false if no interpolation is done...for e.g for nearest case
|
inlinevirtual |
Can this FTMachine be represented by Fourier convolutions?
Reimplemented in casa::AWProjectFT, casa::nPBWProjectFT, casa::WOnlyProjectFT, casa::WProjectFT, casa::rGridFT, casa::GridFT, casa::MosaicFT, casa::rGridFT, casa::MultiTermFTNew, casa::NewMultiTermFT, and casa::MultiTermFT.
Definition at line 319 of file FTMachine.h.
|
inlinevirtual |
Definition at line 252 of file FTMachine.h.
References sj_p.
|
inlinevirtual |
Definition at line 251 of file FTMachine.h.
References sj_p.
|
inlinevirtual |
cerr << "@#%$@% = " << cfCache_p.nrefs() << endl;
Reimplemented in casa::MultiTermFTNew.
Definition at line 393 of file FTMachine.h.
References cfCache_p.
|
static |
helper function for openmp to call...no private dependency
|
protected |
|
virtual |
Make the entire image.
Reimplemented in casa::AWProjectFT, casa::nPBWProjectFT, casa::WOnlyProjectFT, casa::WProjectFT, casa::rGridFT, casa::GridFT, casa::rGridFT, casa::MosaicFT, casa::MultiTermFTNew, casa::NewMultiTermFT, and casa::MultiTermFT.
|
virtual |
Make the entire image using a ROVisIter.
Reimplemented in casa::AWProjectFT, and casa::SDGrid.
|
protected |
redo all spw chan match especially if ms has changed underneath
|
protected |
|
pure virtual |
Return the name of the machine.
Implemented in casa::AWProjectFT, casa::nPBWProjectFT, casa::WProjectFT, casa::GridFT, casa::MosaicFT, casa::rGridFT, casa::SDGrid, casa::GridBoth, casa::MultiTermFTNew, casa::NewMultiTermFT, casa::FixVis, casa::MultiTermFT, casa::SetJyGridFT, casa::MultiTermAWProjectWBFT, casa::AWProjectWBFT, casa::MosaicFTNew, and casa::AWProjectWBFTNew.
|
inlinevirtual |
Reimplemented in casa::nPBWProjectFT, casa::WOnlyProjectFT, casa::WProjectFT, casa::rGridFT, casa::GridFT, casa::rGridFT, casa::SDGrid, casa::MosaicFT, casa::GridBoth, casa::FixVis, casa::MultiTermFT, and casa::MultiTermAWProjectWBFT.
Definition at line 237 of file FTMachine.h.
|
virtual |
|
protectedvirtual |
Reimplemented in casa::AWProjectFT, casa::nPBWProjectFT, casa::WOnlyProjectFT, casa::MosaicFT, casa::WProjectFT, casa::rGridFT, casa::GridFT, casa::rGridFT, casa::SDGrid, casa::GridBoth, and casa::FixVis.
Referenced by setBasePrivates().
|
pure virtual |
Put coherence to grid.
Implemented in casa::AWProjectFT, casa::nPBWProjectFT, casa::WOnlyProjectFT, casa::WProjectFT, casa::rGridFT, casa::GridFT, casa::rGridFT, casa::FixVis, casa::SDGrid, casa::MosaicFT, casa::GridBoth, casa::MultiTermFTNew, casa::NewMultiTermFT, and casa::MultiTermFT.
Referenced by put().
|
inlinevirtual |
Non const vb version - so that weights can be modified in-place Currently, used only by MultiTermFT.
Reimplemented in casa::MultiTermFTNew, casa::NewMultiTermFT, and casa::MultiTermFT.
Definition at line 219 of file FTMachine.h.
References put(), and casa::type().
void casa::FTMachine::refocus | ( | casacore::Matrix< casacore::Double > & | uvw, |
const casacore::Vector< casacore::Int > & | ant1, | ||
const casacore::Vector< casacore::Int > & | ant2, | ||
casacore::Vector< casacore::Double > & | dphase, | ||
const VisBuffer & | vb | ||
) |
Refocus on a finite distance.
|
inlinevirtual |
reset stuff in an FTMachine
Reimplemented in casa::AWProjectFT, casa::nPBWProjectFT, and casa::MosaicFT.
Definition at line 350 of file FTMachine.h.
void casa::FTMachine::rotateUVW | ( | casacore::Matrix< casacore::Double > & | uvw, |
casacore::Vector< casacore::Double > & | dphase, | ||
const VisBuffer & | vb | ||
) |
|
protected |
helper to save Measures in a record
|
inline |
Definition at line 145 of file FTMachine.h.
References operator=().
|
inlinevirtual |
Definition at line 371 of file FTMachine.h.
References canComputeResiduals_p.
|
virtual |
Reimplemented in casa::AWProjectWBFT.
|
inlinevirtual |
cerr << "FTM: " << isDryRun << endl;
Reimplemented in casa::MultiTermFTNew, and casa::AWProjectWBFTNew.
Definition at line 387 of file FTMachine.h.
References isDryRun.
|
virtual |
set frequency interpolation type
void casa::FTMachine::setLocation | ( | const casacore::MPosition & | loc | ) |
set and get the location used for frame
|
pure virtual |
set the order of the Taylor term for MFS this is to tell A-casacore::Projection to qualify the accumulated avgPB for each Taylor term in the CFCache.
Implemented in casa::AWProjectFT, casa::nPBWProjectFT, casa::WOnlyProjectFT, casa::MosaicFT, casa::WProjectFT, casa::rGridFT, casa::GridFT, casa::rGridFT, casa::SDGrid, casa::GridBoth, casa::MultiTermFTNew, casa::NewMultiTermFT, casa::FixVis, and casa::MultiTermFT.
|
virtual |
set a moving source aka planets or comets => adjust phase center on the fly for gridding
|
virtual |
|
inlinevirtual |
To make sure no padding is used in certain gridders.
Reimplemented in casa::rGridFT, casa::GridFT, casa::rGridFT, casa::MultiTermFTNew, casa::NewMultiTermFT, and casa::MultiTermFT.
Definition at line 328 of file FTMachine.h.
void casa::FTMachine::setnumthreads | ( | casacore::Int | n | ) |
virtual void ComputeResiduals(VBStore& vb)=0; get and set numthreads
|
inline |
set and get Time to calculate phasecenter -1.0 means using the time available at each iteration..this is used when the phasecenter in the field table is either a polynomial or has a ephemerides tables associated with it Using double in the units and epoch-frame of the ms(s)..caller is responsible for conversion
Definition at line 347 of file FTMachine.h.
References phaseCenterTime_p, and casa::time.
|
virtual |
tell ftmachine which Pointing table column to use for Direction Mosaic or Single dish ft use this for example
|
virtual |
Set SkyJones if image domain corrections /applycation are needed To reset the the FTMachine for stopping image based correction/applycation set in a casacore::Vector of size 0.
The pointers have to be handled by the caller..no delete happening here
|
protected |
casacore::Bool casa::FTMachine::setSpw | ( | casacore::Vector< casacore::Int > & | spw, |
casacore::Bool | validFrame | ||
) |
set spw for cube that will be used;
|
virtual |
|
virtual |
|
virtual |
|
private |
Some temporary wasteful function for swapping axes because we don't Interpolation along the second axis...will need to implement interpolation on y axis of a cube.
|
private |
|
private |
|
virtual |
Save and restore the FTMachine to and from a record.
Reimplemented in casa::nPBWProjectFT, casa::WProjectFT, casa::GridFT, casa::MosaicFT, casa::rGridFT, casa::GridBoth, casa::MultiTermFTNew, casa::NewMultiTermFT, casa::MultiTermFT, and casa::SetJyGridFT.
|
inlinevirtual |
All FTMachines that fill weightimage, need to set this.
TODO : Make this pure virtual.
Reimplemented in casa::MosaicFT, casa::MultiTermFTNew, and casa::AWProjectWBFTNew.
Definition at line 250 of file FTMachine.h.
|
friend |
Definition at line 403 of file FTMachine.h.
|
friend |
Definition at line 404 of file FTMachine.h.
|
friend |
Definition at line 402 of file FTMachine.h.
|
protected |
Definition at line 524 of file FTMachine.h.
Referenced by canComputeResiduals(), and setCanComputeResiduals().
|
protected |
Definition at line 517 of file FTMachine.h.
Referenced by getCacheDir(), getCFCache(), and isUsingCFCache().
|
protected |
Definition at line 519 of file FTMachine.h.
|
protected |
Definition at line 518 of file FTMachine.h.
|
protected |
Definition at line 514 of file FTMachine.h.
|
protected |
Definition at line 519 of file FTMachine.h.
|
protected |
Definition at line 518 of file FTMachine.h.
|
protected |
Maps of channels and polarization.
Definition at line 448 of file FTMachine.h.
|
protected |
A holder for the complex image if nobody else is keeping it.
Definition at line 538 of file FTMachine.h.
|
protected |
Definition at line 521 of file FTMachine.h.
Referenced by getAWConvFunc().
|
protected |
Definition at line 428 of file FTMachine.h.
|
protected |
Definition at line 504 of file FTMachine.h.
|
protected |
Set if uvwrotation is necessary.
Definition at line 459 of file FTMachine.h.
|
protected |
Definition at line 513 of file FTMachine.h.
|
protected |
Definition at line 513 of file FTMachine.h.
|
protected |
Definition at line 425 of file FTMachine.h.
|
protected |
Definition at line 424 of file FTMachine.h.
|
protected |
Definition at line 505 of file FTMachine.h.
|
protected |
Definition at line 510 of file FTMachine.h.
|
protected |
Definition at line 540 of file FTMachine.h.
|
protected |
casacore::Array for non-tiled gridding These are common to most FTmachines
Definition at line 530 of file FTMachine.h.
|
protected |
Definition at line 531 of file FTMachine.h.
|
protected |
Definition at line 409 of file FTMachine.h.
Referenced by casa::FixVis::getImage().
|
protected |
Definition at line 506 of file FTMachine.h.
|
protected |
Definition at line 509 of file FTMachine.h.
casacore::Bool casa::FTMachine::isDryRun |
Definition at line 398 of file FTMachine.h.
Referenced by dryRun(), casa::AWProjectWBFTNew::setDryRun(), casa::MultiTermFTNew::setDryRun(), and setDryRun().
|
protected |
Is casacore::Stokes I only? iso XX,XY,YX,YY or LL,LR,RL,RR.
Definition at line 452 of file FTMachine.h.
|
protected |
Definition at line 432 of file FTMachine.h.
|
protected |
Definition at line 433 of file FTMachine.h.
|
protected |
Definition at line 405 of file FTMachine.h.
|
protected |
casacore::Vector of float lsrfreq needed for regridding
Definition at line 508 of file FTMachine.h.
|
protected |
Definition at line 414 of file FTMachine.h.
|
protected |
Definition at line 420 of file FTMachine.h.
|
protected |
Default Position used for phase rotations.
Definition at line 455 of file FTMachine.h.
Referenced by casa::PBMosaicFT::setObservatoryLocation(), casa::AWProjectWBFT::setObservatoryLocation(), and casa::AWProjectFT::setObservatoryLocation().
|
protected |
moving source stuff
Definition at line 423 of file FTMachine.h.
|
protected |
Definition at line 418 of file FTMachine.h.
|
protected |
setup multiple spectral window for cubes
Definition at line 468 of file FTMachine.h.
|
protected |
Definition at line 430 of file FTMachine.h.
|
protected |
Definition at line 445 of file FTMachine.h.
|
protected |
Definition at line 445 of file FTMachine.h.
|
protected |
Definition at line 526 of file FTMachine.h.
|
protected |
Definition at line 445 of file FTMachine.h.
|
protected |
Definition at line 470 of file FTMachine.h.
|
protected |
Definition at line 445 of file FTMachine.h.
|
protected |
Sizes.
Definition at line 445 of file FTMachine.h.
|
protected |
Definition at line 445 of file FTMachine.h.
|
protected |
Definition at line 534 of file FTMachine.h.
Referenced by casa::AWProjectFT::getPBLimit(), and getPBLimit().
|
protected |
Definition at line 541 of file FTMachine.h.
Referenced by getPhaseCenterTime(), and setPhaseCenterTime().
|
protected |
Definition at line 412 of file FTMachine.h.
|
protected |
Definition at line 511 of file FTMachine.h.
|
protected |
Definition at line 515 of file FTMachine.h.
|
protected |
Definition at line 448 of file FTMachine.h.
Referenced by casa::WOnlyProjectFT::getPolMap(), casa::nPBWProjectFT::getPolMap(), and casa::AWProjectFT::getPolMap().
|
protected |
Definition at line 522 of file FTMachine.h.
|
protected |
Definition at line 469 of file FTMachine.h.
|
protected |
casacore::Vector<SkyJones *> sj_p;
Definition at line 536 of file FTMachine.h.
Referenced by isSkyJonesChanged(), and isSkyJonesSet().
|
protected |
Private variables needed for spectral frame conversion.
Definition at line 503 of file FTMachine.h.
|
protected |
Definition at line 512 of file FTMachine.h.
Referenced by getSpwChanSelection().
|
protected |
Definition at line 513 of file FTMachine.h.
Referenced by getSpwFreqSelection().
|
protected |
Definition at line 442 of file FTMachine.h.
Referenced by casa::AWProjectFT::getSumOfCFWeights().
|
protected |
Sum of weights per polarization and per chan.
Definition at line 442 of file FTMachine.h.
Referenced by casa::WOnlyProjectFT::getSumOfWeights(), and casa::AWProjectFT::getSumOfWeights().
|
protected |
Direction of desired tangent plane.
Definition at line 417 of file FTMachine.h.
|
protected |
Definition at line 525 of file FTMachine.h.
|
protected |
Use douple precision grid in gridding process.
Definition at line 435 of file FTMachine.h.
|
protected |
Definition at line 411 of file FTMachine.h.