10 #ifndef DP3_BDAGROUPPREDICT_H
11 #define DP3_BDAGROUPPREDICT_H
45 const std::vector<std::string>& source_patterns);
57 bool process(std::unique_ptr<base::BdaBuffer>)
override;
63 void show(std::ostream&)
const override;
65 void showTimings(std::ostream&,
double duration)
const override;
81 std::unique_ptr<base::BdaBuffer> buffer;
82 size_t nr_rows_filled;
86 std::queue<BufferInfo> buffers_;
88 std::vector<std::string> source_patterns_;
95 std::map<std::pair<int, int>, BaselineGroup> averaging_to_baseline_group_map_;
100 std::vector<std::pair<BaselineGroup*, int>> index_to_baseline_group_map_;
Buffer holding baseline-dependently averaged (BDA) data.
General info about DP3 data processing attributes like averaging.
Definition: DPInfo.h:35
Implements a map of Key-Value pairs.
Definition: ParameterSet.h:31
DP3 step class to predict BDA visibilities from a source model.
Definition: BdaGroupPredict.h:31
BdaGroupPredict(const common::ParameterSet &, const std::string &prefix, const std::vector< std::string > &source_patterns)
bool process(std::unique_ptr< base::BdaBuffer >) override
base::Direction GetFirstDirection() const override
void show(std::ostream &) const override
Show the step parameters.
common::Fields getRequiredFields() const override
Get the fields required by the current step.
void finish() override
Finish the processing of this step and subsequent steps.
bool accepts(MsType dt) const override
Boolean if this step can process this type of data.
Definition: BdaGroupPredict.h:67
void showTimings(std::ostream &, double duration) const override
BdaGroupPredict(const common::ParameterSet &, const std::string &prefix)
~BdaGroupPredict() override
MsType outputs() const override
Return which datatype this step outputs.
Definition: BdaGroupPredict.h:69
void updateInfo(const base::DPInfo &) override
Common interface for steps that produce model data.
Definition: Step.h:172
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
A direction on the celestial sphere.
Definition: Direction.h:15