34 #ifndef MSTRANSFORM_MSUVBIN_H
35 #define MSTRANSFORM_MSUVBIN_H
casacore::Vector< casacore::Int > whichStokes_p
casacore::String outMSName_p
A Measure: astronomical direction.
void gridDataConv(const vi::VisBuffer2 &vb, casacore::Cube< casacore::Complex > &grid, casacore::Matrix< casacore::Float > &, casacore::Cube< casacore::Complex > &wghtSpec, casacore::Cube< casacore::Bool > &flag, casacore::Vector< casacore::Bool > &rowFlag, casacore::Matrix< casacore::Double > &uvw, casacore::Vector< casacore::Int > &ant1, casacore::Vector< casacore::Int > &ant2, casacore::Vector< casacore::Double > &timeCen, const casacore::Int startchan, const casacore::Int endchan, const casacore::Cube< casacore::Complex > &convFunc, const casacore::Vector< casacore::Int > &convSupport, const casacore::Double wScale, const casacore::Int convSampling)
casacore::Vector< casacore::Int > chanMap_p
std::complex< Float > Complex
void setOutputMS(const casacore::String &msname)
void setInputMS(const casacore::MeasurementSet& ms); void setInputMS(const casacore::Block<const casa...
static casacore::Int sepCommaEmptyToVectorStrings(casacore::Vector< casacore::String > &retStr, const casacore::String &str)
Main interface class to a read/write table.
VisibilityIterator2 iterates through one or more readonly MeasurementSets.
casacore::CountedPtr< casacore::MeasurementSet > outMsPtr_p
casacore::Bool datadescMap(const vi::VisBuffer2 &vb, casacore::Double &fracbw)
returns a false if either no channel map or pol map onto grid
casacore::Double freqStart_p
casacore::Int recoverGridInfo(const casacore::String &msname)
ABSTRACT TOOL CLASSES A PlotTool is a higher level event handler for a PlotCanvas The idea is to take common tasks which may require multiple events and put them in one place PlotTools also provide additional functionality in that they can be active and blocking non blocking The PlotCanvas will only send events to active and will not send events to later tools or event handlers if the latest tool was blocking In this way a single tool can be used to handle ALL user interaction via the GUI at one time
casacore::Bool saveData(const casacore::Cube< casacore::Complex > &grid, const casacore::Cube< casacore::Bool > &flag, const casacore::Vector< casacore::Bool > &rowFlag, const casacore::Cube< casacore::Float > &wghtSpec, const casacore::Matrix< casacore::Float > &wght, const casacore::Matrix< casacore::Double > &uvw, const casacore::Vector< casacore::Int > &ant1, const casacore::Vector< casacore::Int > &ant2, const casacore::Vector< casacore::Double > &time)
casacore::Double freqStep_p
casacore::Matrix< casacore::Double > sumWeight_p
casacore::Bool fillOutputMS()
forceDiskUsage is to avoid using in memory gridding even if there is
casacore::Bool fillNewBigOutputMS()
casacore::Matrix< casacore::Double > numVis_p
void gridData(const vi::VisBuffer2 &vb, casacore::Cube< casacore::Complex > &grid, casacore::Matrix< casacore::Float > &wght, casacore::Cube< casacore::Float > &wghtSpec, casacore::Cube< casacore::Bool > &flag, casacore::Vector< casacore::Bool > &rowFlag, casacore::Matrix< casacore::Double > &uvw, casacore::Vector< casacore::Int > &ant1, casacore::Vector< casacore::Int > &ant2, casacore::Vector< casacore::Double > &time, const casacore::Matrix< casacore::Int > &locuv)
casacore::MDirection phaseCenter_p
static casacore::Bool String2MDirection(const casacore::String &theString, casacore::MDirection &theMeas, const casacore::String msname="")
Helper function for creating casacore::MDirection from a string.
void copySubtable(const casacore::String &tabName, const casacore::Table &inTab, const casacore::Bool noRows=false)
casacore::Vector< casacore::Double > deltas_p
void gridDataConvThr(const vi::VisBuffer2 &vb, casacore::Cube< casacore::Complex > &grid, casacore::Cube< casacore::Complex > &wghtSpec, casacore::Cube< casacore::Bool > &flag, casacore::Vector< casacore::Bool > &rowFlag, casacore::Matrix< casacore::Double > &uvw, casacore::Vector< casacore::Int > &ant1, casacore::Vector< casacore::Int > &ant2, casacore::Vector< casacore::Double > &timeCen, const casacore::Int startchan, const casacore::Int endchan, const casacore::Cube< casacore::Complex > &convFunc, const casacore::Vector< casacore::Int > &convSupport, const casacore::Double wScale, const casacore::Int convSampling)
void inplaceLargeBW(const vi::VisBuffer2 &vb)
casacore::CoordinateSystem csys_p
void multiThrLoop(const casacore::Int outchan, const vi::VisBuffer2 &vb, casacore::Double refFreq, casacore::Vector< casacore::Float > scale, casacore::Bool hasCorrected, casacore::Bool needRot, const casacore::Vector< casacore::Double > &phasor, const casacore::Vector< casacore::Double > &visFreq, const casacore::Double &fracbw, casacore::Complex *&grid, casacore::Complex *&wghtSpec, casacore::Bool *&flag, casacore::Bool *&rowFlag, casacore::Double *&uvw, casacore::Int *&ant1, casacore::Int *&ant2, casacore::Double *&timeCen, casacore::Double *&sumWeight, casacore::Double *&numvis, const casacore::Int startchan, const casacore::Int endchan, const casacore::Cube< casacore::Complex > &convFunc, const casacore::Vector< casacore::Int > &convSupport, const casacore::Double wScale, const casacore::Int convSampling)
void locateFlagFromGrid(vi::VisBuffer2 &vb, casacore::Cube< casacore::Bool > &datFlag, casacore::Cube< casacore::Float > &wghtSpec, casacore::Cube< casacore::Bool > &flag, casacore::Vector< casacore::Bool > &rowFlag, casacore::Matrix< casacore::Double > &uvw, casacore::Vector< casacore::Int > &ant1, casacore::Vector< casacore::Int > &ant2, casacore::Vector< casacore::Double > &timeCen, const casacore::Int startchan, const casacore::Int endchan)
casacore::Int makeUVW(const casacore::Double reffreq, casacore::Vector< casacore::Double > &incr, casacore::Vector< casacore::Int > ¢, casacore::Matrix< casacore::Double > &uvw)
bool Bool
Define the standard types used by Casacore.
casacore::Vector< casacore::Int > polMap_p
virtual casacore::Bool selectData(const casacore::String &msname, const casacore::String &spw="", const casacore::String &field="", const casacore::String &baseline="", const casacore::String &scan="", const casacore::String &uvrange="", const casacore::String &taql="", const casacore::String &subarray="", const casacore::String &correlation="", const casacore::String &intent="", const casacore::String &obs="")
The following can be called multiple times to setup multiple input MS.
A Table intended to hold astronomical data (a set of Measurements).
void createOutputMS(const casacore::Int nrrows)
casacore::Float memFraction_p
casacore::Block< const casacore::MeasurementSet * > mss_p
casacore::Bool fillBigOutputMS()
VisBuffer2s encapsulate one chunk of visibility data for processing.
String: the storage and methods of handling collections of characters.
void locateuvw(casacore::Matrix< casacore::Int > &locuv, const casacore::Vector< casacore::Double > &increment, const casacore::Vector< casacore::Int > ¢er, const casacore::Matrix< casacore::Double > &uvw)
void inplaceGridData(const vi::VisBuffer2 &vb)
VisBuffers encapsulate one chunk of visibility data for processing.
casacore::Bool existOut_p
void makeWConv(vi::VisibilityIterator2 &iter, casacore::Cube< casacore::Complex > &convFunc, casacore::Vector< casacore::Int > &convSupport, casacore::Double &wScale, casacore::Int &convSampling, casacore::Int &convSize)
void makeSFConv(casacore::Cube< casacore::Complex > &convFunc, casacore::Vector< casacore::Int > &convSupport, casacore::Double &wScale, casacore::Int &convSampling, casacore::Int &convSize)
void inplaceSmallBW(const vi::VisBuffer2 &vb)
casacore::Vector< casacore::Vector< casacore::Int > > chanMapRev_p
Interconvert pixel and world coordinates.
casacore::Bool fillSmallOutputMS()