29 #ifndef NRAO_VLAFILLER_H
30 #define NRAO_VLAFILLER_H
52 #include <unordered_map>
60 template <
class T>
class Vector;
66 struct IterationStatus;
void summarise()
Send to the logger info about how much data is in the (sub)tables.
A Measure: astronomical direction.
A 1-D Specialization of the Array class.
A Measure: position on Earth.
casacore::Block< casacore::Int > itsSpId
casacore::Bool itsInitEpoch
static casacore::MeasurementSet openMS(const casacore::Path &tableName, const casacore::Bool readonly=false)
Open the casacore::MeasurementSet with the supplied name.
casacore::MDirection::Types itsDirType
casacore::uInt addPointing(const casacore::MDirection &antennaDir, const casacore::MDirection &fieldDir, casacore::uInt whichAnt)
casacore::uInt addAntenna(const casacore::MPosition &antennaPos, casacore::uInt whichAnt)
void setFilter(const VLAFilterSet &filter)
Set the filter that will be used to restrict which input records get copied to the output MS...
casacore::Bool itsKeepAutoCorr
casacore::TiledDataStManAccessor itsDataAcc
casacore::uInt addField(const casacore::MDirection &refDir)
This class interprets a VLA logical record.
casacore::MBaseline::Convert itsBlCtr
casacore::TiledDataStManAccessor itsImagingWeightAcc
casacore::uInt addDataDescription(casacore::uInt spwId, casacore::uInt polId)
casacore::uInt addSpectralWindow(const VLAEnum::CDA cda, const casacore::MFrequency &refFreq, const casacore::uInt nChan, const casacore::Double bandwidth, const casacore::uInt ifChain)
casacore::Bool stopFilling(VLALogicalRecord &)
casacore::Bool fillOne()
Read one record from the input and copies it to the casacore::MS if it is not filtered out...
VLAFilterSet itsInputFilters
Container for Measure frame.
casacore::Bool itsEVLAisOn
casacore::MVEpoch stopTime
casacore::TiledDataStManAccessor itsModDataAcc
casacore::TiledDataStManAccessor itsChanFlagAcc
ostream-like interface to creating log messages.
casacore::Block< Block< casacore::Int > > itsDataId
void setStopParams(casacore::String &, casacore::String &)
Set the stop Parameters for filling.
void logChanges(IterationStatus &counts)
casacore::Double itsFreqTolerance
void addHypercubes(casacore::uInt nPol, casacore::uInt nChan)
casacore::String projectCode
casacore::Bool itsApplyTsys
static casacore::MeasurementSet getMS(const casacore::Path &tableName, const casacore::Bool overwrite=false)
Return an empty casacore::MeasurementSet with the supplied table name.
casacore::MDirection::Convert itsAzElCtr
Functions to convert from VLA archive format to a casacore::MeasurementSet.
StokesTypes
The Stokes types are defined by this enum.
casacore::MeasFrame itsFrame
casacore::MDirection::Types itsMSDirType
Types
Types of known MDirections Warning: The order defines the order in the translation matrix FromTo in ...
casacore::uInt addPolarization(const casacore::Vector< casacore::Stokes::StokesTypes > &pol)
A Measure: wave characteristics.
VLALogicalRecord itsRecord
casacore::uInt addSource(const casacore::MDirection &dir)
casacore::Bool fillStarted
~VLAFiller()
Does nothing special.
casacore::MFrequency::Convert itsFreqCtr
casacore::uInt addDoppler(const VLAEnum::CDA cda)
Add an entry to the doppler dubtable
casacore::Muvw::Convert itsUvwCtr
casacore::MDirection::Types validEpoch(casacore::MDirection::Types mdType)
casacore::String itsProject
void fixFieldDuplicates(casacore::MSField &msFld)
casacore::TiledDataStManAccessor itsFlagAcc
void logCurrentRecord(IterationStatus &counts)
Send to the logger info about how the filler is going.
casacore::Block< casacore::Int > itsScan
casacore::Block< casacore::Int > itsFldId
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
static casacore::MeasurementSet emptyMS(const casacore::Path &tableName, const casacore::Bool overwrite=false)
Construct an empty casacore::MeasurementSet with the supplied table name.
void addFeed(casacore::uInt whichAnt)
Give access to some TiledDataStMan functions.
casacore::Record itsTileId
casacore::Block< casacore::Int > itsPolId
casacore::TiledDataStManAccessor itsCorrDataAcc
A Table intended to hold a MeasurementSet FIELD table.
A Table intended to hold astronomical data (a set of Measurements).
std::unordered_map< std::string, bool > itsTransferWarned
std::set< ScanKey > filter(const std::set< ScanKey > scans, const ArrayKey &arrayKey)
given a set of scan keys, return the subset that matches the given array key
casacore::Int polIndexer(casacore::Stokes::StokesTypes &stokes)
A class for high precision time.
casacore::Block< casacore::IPosition > itsDataShapes
VLAFiller(casacore::MeasurementSet &output, VLALogicalRecord &input, casacore::Double freqTolerance=0.0, casacore::Bool autocorr=false, const casacore::String &antnamescheme="new", const casacore::Bool &applyTsys=true)
Construct a VLAFiller object that will data from the specified input, and writes it to the supplied M...
A class to provide easy read-write access to MeasurementSet columns.
casacore::MDirection::Convert itsDirCtr
CDA
Names for the different correlator data areas's.
String: the storage and methods of handling collections of characters.
casacore::Bool itsNewScan
void extendHypercubes(const casacore::Block< casacore::uInt > &nPol, const casacore::Block< casacore::uInt > &nChan, casacore::uInt rows)
casacore::Bool itsRevBeenWarned
casacore::TiledDataStManAccessor itsSigmaAcc
casacore::MeasurementSet itsMS
casacore::Bool itsNewAntName
casacore::Block< casacore::Int > itsAntId
void fill(casacore::Int verbose=1)
fill the supplied casacore::MeasurementSet from the the supplied VLABuffer.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.