9 #ifndef DPPP_DummyStep_H
10 #define DPPP_DummyStep_H
36 Upsample(
const std::string& name,
unsigned int time_step,
bool update_uvw);
53 bool process(std::unique_ptr<base::DPBuffer> buffer)
override;
62 void show(std::ostream&)
const override;
68 void UpdateTimeCentroidExposureAndUvw(std::unique_ptr<base::DPBuffer>& buffer,
69 double time,
double exposure);
71 const std::string name_;
72 const unsigned int time_step_;
73 const bool update_uvw_;
75 std::vector<std::unique_ptr<base::DPBuffer>> prev_buffers_;
76 std::vector<std::unique_ptr<base::DPBuffer>> buffers_;
77 unsigned int first_to_flush_;
78 std::unique_ptr<base::UVWCalculator> uvw_calculator_;
Buffer holding the data of a timeslot/band.
General info about DP3 data processing attributes like averaging.
Definition: DPInfo.h:35
Implements a map of Key-Value pairs.
Definition: ParameterSet.h:31
Abstract base class for a DP3 step.
Definition: Step.h:52
static constexpr dp3::common::Fields kUvwField
Definition: Step.h:66
static constexpr dp3::common::Fields kFlagsField
Definition: Step.h:62
DPPP step class to Upsample visibilities.
Definition: Upsample.h:29
Upsample(const common::ParameterSet &, const std::string &prefix)
bool process(std::unique_ptr< base::DPBuffer > buffer) override
void updateInfo(const base::DPInfo &) override
Update the general info.
void finish() override
Finish the processing of this step and subsequent steps.
common::Fields getRequiredFields() const override
Get the fields required by the current step.
Definition: Upsample.h:40
void show(std::ostream &) const override
Show the step parameters.
Upsample(const std::string &name, unsigned int time_step, bool update_uvw)
Constructor that gets the settings directly.
common::Fields getProvidedFields() const override
Definition: Upsample.h:46
This file has generic helper routines for testing steps.
Definition: AntennaConfig.h:53