8 #ifndef DPPP_MSBDAREADER_H
9 #define DPPP_MSBDAREADER_H
17 #include <casacore/ms/MeasurementSets/MeasurementSet.h>
103 const std::string& prefix);
109 bool process(std::unique_ptr<base::DPBuffer> buffer)
override;
113 bool process(std::unique_ptr<base::BdaBuffer> buffer)
override;
126 void show(std::ostream&)
const override;
135 const casacore::Table&
table()
const override {
return ms_; }
138 const casacore::MeasurementSet ms_;
139 std::string data_column_name_;
140 std::string weight_column_name_;
141 double last_ms_time_;
142 double last_ms_interval_;
143 bool is_interval_integer_;
146 std::size_t pool_size_;
148 std::map<int, std::size_t>
150 std::map<std::pair<int, int>,
unsigned int>
Buffer holding baseline-dependently averaged (BDA) data.
Class to keep counts of nr of flagged points.
Class to calculate UVW coordinates Note: this code is used by LOFAR and APERTIF software.
General info about DP3 data processing attributes like averaging.
Definition: DPInfo.h:35
Implements a map of Key-Value pairs.
Definition: ParameterSet.h:31
Step for reading BDA data from an MS.
Definition: MSBDAReader.h:98
bool process(std::unique_ptr< base::DPBuffer > buffer) override
void updateInfo(const base::DPInfo &) override
std::string msName() const override
Get the name of the MS.
MSBDAReader(const casacore::MeasurementSet &ms, const common::ParameterSet &, const std::string &prefix)
void finish() override
Finish the processing of this step and subsequent steps.
MsType outputs() const override
Return which datatype this step outputs.
Definition: MSBDAReader.h:119
bool process(std::unique_ptr< base::BdaBuffer > buffer) override
void showTimings(std::ostream &, double duration) const override
Show the timings.
const casacore::Table & table() const override
Get the main MS table.
Definition: MSBDAReader.h:135
void show(std::ostream &) const override
Show the step parameters.
MsType
To check compatibility between steps before running.
Definition: Step.h:57
This file has generic helper routines for testing steps.
Definition: AntennaConfig.h:53