23 #ifndef MSTransformManager_H_
24 #define MSTransformManager_H_
73 class MSTransformBufferImpl;
74 class MSTransformIterator;
75 class MSTransformIteratorFactory;
78 namespace MSTransformations
136 typedef map<casacore::MS::PredefinedColumns,casacore::MS::PredefinedColumns>
dataColMap;
262 reset(chanFreq,chanWidth);
527 map<casacore::uInt,casacore::uInt> &inputOutputIndexMap,
551 outputVector = inputVector(0);
569 map<casacore::uInt,casacore::uInt> &inputOutputIndexMap)
573 if (inputOutputIndexMap.size() == 0)
581 outputVector = inputOutputIndexMap[inputVector(0)];
598 map<casacore::uInt,casacore::uInt> &inputOutputIndexMap)
604 outputVector(index) = inputOutputIndexMap[inputVector(
rowIndex_p[index])];
614 outputVector(absoluteIndex) = inputOutputIndexMap[inputVector(
rowIndex_p[index])];
626 map<casacore::uInt,casacore::uInt> &inputOutputIndexMap)
632 outputVector(index) = inputOutputIndexMap[inputVector(index)];
642 outputVector(absoluteIndex) = inputOutputIndexMap[inputVector(index)];
658 outputVector(index) = inputVector(
rowIndex_p[index]);
668 outputVector(absoluteIndex) = inputVector(
rowIndex_p[index]);
691 outputMatrix(col,index) = inputMatrix(col,
rowIndex_p[index]);
705 map<casacore::uInt,T> scaleMap,
spwInfo(casacore::Vector< casacore::Double > &chanFreq, casacore::Vector< casacore::Double > &chanWidth)
A Vector of integers, for indexing into Array<T> objects.
A Measure: astronomical direction.
casacore::uInt inpChannel
casacore::uInt outChannel
A Measure: position on Earth.
map< casacore::uInt, map< casacore::uInt, casacore::uInt > > inputSpwChanMap
casacore::Double upperBound
std::vector< casacore::Int > contribSPW_id
casacore::uInt outChannel
const IPosition & shape() const
The length of each axis of the Matrix.
casacore::Vector< casacore::Double > CHAN_FREQ
VisibilityIterator2 iterates through one or more readonly MeasurementSets.
channelContribution(casacore::Int inputSpw, casacore::uInt inputChannel, casacore::uInt outputChannel, casacore::Double fraction)
std::vector< casacore::Int > contribChannel
casacore::Vector< casacore::Double > CHAN_WIDTH
map< casacore::uInt, pair< spwInfo, spwInfo > > inputOutputSpwMap
FrequencySelectionUsingChannels()
casacore::Double lowerBound
map< casacore::uInt, vector< channelContribution > > inputOutputChanFactorMap
A 2-D Specialization of the Array class.
ostream-like interface to creating log messages.
A Measure: radial velocity.
iterator begin()
Get the begin iterator object for any array.
casacore::Double lowerBound() const
PredefinedColumns
The Main table colums with predefined meaning.
spwInfo(casacore::uInt nChannels)
A Measure: instant in time.
void resize(casacore::uInt nChannels)
define a (start,length,increment) along an axis
casacore::Double CHAN_WIDTH
LatticeExprNode abs(const LatticeExprNode &expr)
Numerical 1-argument functions which result in a real number regardless of input expression type...
casacore::Double RESOLUTION
A class to provide easy read-only access to MeasurementSet columns.
Class holding the row numbers in a RefTable.
void initialize(casacore::uInt nChannels)
const IPosition & shape() const
The length of the Vector.
casacore::Vector< casacore::Double > CHAN_FREQ_aux
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
map< pair< pair< casacore::uInt, casacore::uInt >, casacore::uInt >, std::vector< casacore::uInt > > baselineMap
casacore::Double TOTAL_BANDWIDTH
casacore::Double upperBound() const
casacore::Double REF_FREQUENCY
A Table intended to hold astronomical data (a set of Measurements).
casacore::Vector< casacore::Double > RESOLUTION
std::vector< casacore::Double > contribFrac
casacore::Double EFFECTIVE_BW
VisBuffer2s encapsulate one chunk of visibility data for processing.
bool operator<(const channelInfo &right_operand) const
casacore::Double CHAN_FREQ
A class to provide easy read-write access to MeasurementSet columns.
VisBuffer2 * getVisBuffer()
Returns the VisBuffer permanently attached to this VisibilityIterator.
String: the storage and methods of handling collections of characters.
casacore::uInt inpChannel
void reset(casacore::Vector< casacore::Double > &chanFreq, casacore::Vector< casacore::Double > &chanWidth)
Types
Types of known MFrequencies Warning: The order defines the order in the translation matrix FromTo in...
void resize(size_t len, Bool copyValues=False)
map< casacore::MS::PredefinedColumns, casacore::MS::PredefinedColumns > dataColMap
casacore::Map definition
casacore::Double overlap(const channelInfo &other) const
casacore::Vector< casacore::Double > EFFECTIVE_BW
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.