DP3 step class that predicts visibilities from a source model. This step contains OnePredict sub-steps, that do the actual predictions and optional pre- and postprocessing sub-steps for each OnePredict sub-step.
More...
#include <Predict.h>
DP3 step class that predicts visibilities from a source model. This step contains OnePredict sub-steps, that do the actual predictions and optional pre- and postprocessing sub-steps for each OnePredict sub-step.
◆ Predict() [1/2]
Constructs the object.
- Parameters
-
| parset | Parameter set with settings for the step. |
| prefix | Prefix for reading settings from 'parset'. |
| input_type | Input type, Regular (default) or Bda. |
◆ Predict() [2/2]
Constructs the object with explicit source patterns.
- Parameters
-
| parset | Parameter set with settings for the step. |
| prefix | Prefix for reading settings from 'parset'. |
| source_patterns | Source patterns. |
| input_type | Input type, Regular (default) or Bda. |
◆ ~Predict()
| dp3::steps::Predict::~Predict |
( |
| ) |
|
|
inlineoverride |
◆ accepts()
| bool dp3::steps::Predict::accepts |
( |
MsType |
dt | ) |
const |
|
inlineoverridevirtual |
Boolean if this step can process this type of data.
Reimplemented from dp3::steps::Step.
◆ finish()
| void dp3::steps::Predict::finish |
( |
| ) |
|
|
overridevirtual |
Finish the processing of this step and subsequent steps.
Implements dp3::steps::Step.
◆ GetFirstDirection()
◆ getProvidedFields()
Get the fields provided (modified and/or created) by the current step. The returned fields thus should not include (required) fields that are forwarded without modifications.
Implements dp3::steps::Step.
◆ getRequiredFields()
◆ outputs()
| MsType dp3::steps::Predict::outputs |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ process() [1/2]
Process the BDA data. When processed, it invokes the process function of the next step. It should return False at the end.
Reimplemented from dp3::steps::Step.
◆ process() [2/2]
| bool dp3::steps::Predict::process |
( |
std::unique_ptr< base::DPBuffer > |
buffer | ) |
|
|
overridevirtual |
Process the data. When processed, the step should invoke the process function of the next step with the same buffer as argument.
- Returns
- False at the end of the input. True if there is more input.
Reimplemented from dp3::steps::Step.
◆ setNextStep()
| void dp3::steps::Predict::setNextStep |
( |
std::shared_ptr< Step > |
next_step | ) |
|
|
override |
Ensures that all steps, including internal sub-steps, form a single list.
◆ SetOperation()
| void dp3::steps::Predict::SetOperation |
( |
const std::string & |
operation | ) |
|
◆ SetThreadData()
| void dp3::steps::Predict::SetThreadData |
( |
std::mutex * |
mutex | ) |
|
◆ show()
| void dp3::steps::Predict::show |
( |
std::ostream & |
| ) |
const |
|
overridevirtual |
◆ updateInfo()
| void dp3::steps::Predict::updateInfo |
( |
const base::DPInfo & |
| ) |
|
|
overridevirtual |
Update the general info (called by setInfo). The default implementation copies the info.
Reimplemented from dp3::steps::Step.
The documentation for this class was generated from the following file: