#include <WGridderPredict.h>
|
| static std::vector< schaapcommon::facets::Facet > | GetFacets (const std::string &ds9_regions_file, const aocommon::FitsReader &reader) |
| |
| static std::vector< schaapcommon::facets::Facet > | GetFacets (const std::string &ds9_regions_file, const double ra, const double dec, const double pixel_size_x, const double pixel_size_y, const size_t full_width, const size_t full_height) |
| |
| static std::vector< aocommon::FitsReader > | GetReaders (const std::vector< std::string > &fits_model_files) |
| | Read the fits files (nterms) for image based prediction. More...
|
| |
| static void | SetThreadingIsInitialized () |
| |
◆ WGridderPredict() [1/2]
| dp3::steps::WGridderPredict::WGridderPredict |
( |
const common::ParameterSet & |
parset, |
|
|
const std::string & |
prefix, |
|
|
std::vector< aocommon::FitsReader > && |
readers, |
|
|
std::vector< schaapcommon::facets::Facet > && |
facets, |
|
|
const std::string & |
ds9_regions_file = "" |
|
) |
| |
◆ WGridderPredict() [2/2]
| dp3::steps::WGridderPredict::WGridderPredict |
( |
const common::ParameterSet & |
, |
|
|
const std::string & |
prefix |
|
) |
| |
◆ finish()
| void dp3::steps::WGridderPredict::finish |
( |
| ) |
|
|
overridevirtual |
Finish the processing of this step and subsequent steps.
Implements dp3::steps::Step.
◆ flush()
| void dp3::steps::WGridderPredict::flush |
( |
| ) |
|
Process the data in all internal buffers using IDG, and send the results to the next step using its process() function.
◆ GetBufferSize()
| size_t dp3::steps::WGridderPredict::GetBufferSize |
( |
| ) |
const |
◆ GetFacets() [1/2]
| static std::vector<schaapcommon::facets::Facet> dp3::steps::WGridderPredict::GetFacets |
( |
const std::string & |
ds9_regions_file, |
|
|
const aocommon::FitsReader & |
reader |
|
) |
| |
|
static |
Get the facets from a region file and use readers to create the image models.
◆ GetFacets() [2/2]
| static std::vector<schaapcommon::facets::Facet> dp3::steps::WGridderPredict::GetFacets |
( |
const std::string & |
ds9_regions_file, |
|
|
const double |
ra, |
|
|
const double |
dec, |
|
|
const double |
pixel_size_x, |
|
|
const double |
pixel_size_y, |
|
|
const size_t |
full_width, |
|
|
const size_t |
full_height |
|
) |
| |
|
static |
Get the facets from a region file and create the image models with the given image size
◆ GetFirstDirection()
◆ getProvidedFields()
| common::Fields dp3::steps::WGridderPredict::getProvidedFields |
( |
| ) |
const |
|
inlineoverridevirtual |
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.
Reimplemented from dp3::steps::ModelDataStep.
◆ GetReaders()
| static std::vector<aocommon::FitsReader> dp3::steps::WGridderPredict::GetReaders |
( |
const std::vector< std::string > & |
fits_model_files | ) |
|
|
static |
Read the fits files (nterms) for image based prediction.
◆ getRequiredFields()
| common::Fields dp3::steps::WGridderPredict::getRequiredFields |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ Predict()
| void dp3::steps::WGridderPredict::Predict |
( |
size_t |
direction, |
|
|
std::vector< base::DPBuffer::DataType * > & |
destinations |
|
) |
| |
Predict visibilities for added buffers in a given direction.
- Parameters
-
| direction | Index for the requested direction. |
- Returns
- Buffers with the predicted visibilities. For each buffer added with process(), there is one corresponding output buffer.
◆ process()
| bool dp3::steps::WGridderPredict::process |
( |
std::unique_ptr< base::DPBuffer > |
buffer | ) |
|
|
overridevirtual |
Add a buffer to the IDG predictor, for use in Predict(), later. Calls flush if the buffer is full.
Reimplemented from dp3::steps::Step.
◆ SetBufferSize()
| void dp3::steps::WGridderPredict::SetBufferSize |
( |
size_t |
nTimesteps | ) |
|
◆ show()
| void dp3::steps::WGridderPredict::show |
( |
std::ostream & |
| ) |
const |
|
overridevirtual |
◆ showTimings()
| void dp3::steps::WGridderPredict::showTimings |
( |
std::ostream & |
, |
|
|
double |
duration |
|
) |
| const |
|
overridevirtual |
Show the timings. The default implementation does nothing.
Reimplemented from dp3::steps::Step.
◆ updateInfo()
| void dp3::steps::WGridderPredict::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: