|
DP3
|
Class containing a few static functions to parse a baseline selection string. More...
#include <BaselineSelection.h>
Public Member Functions | |
| BaselineSelection () | |
| Default constructor has no selection. More... | |
| BaselineSelection (const common::ParameterSet &, const std::string &prefix, bool minmax=false, const std::string &defaultCorrType=std::string(), const std::string &defaultBaseline=std::string()) | |
| casacore::Matrix< bool > | apply (const DPInfo &info) const |
| casacore::Vector< bool > | applyVec (const DPInfo &info) const |
| bool | hasSelection () const |
| Is there any selection? More... | |
| void | show (std::ostream &os, const std::string &blanks=std::string()) const |
Class containing a few static functions to parse a baseline selection string.
| dp3::base::BaselineSelection::BaselineSelection | ( | ) |
Default constructor has no selection.
| dp3::base::BaselineSelection::BaselineSelection | ( | const common::ParameterSet & | , |
| const std::string & | prefix, | ||
| bool | minmax = false, |
||
| const std::string & | defaultCorrType = std::string(), |
||
| const std::string & | defaultBaseline = std::string() |
||
| ) |
Construct from the parset using the given prefix. The keys used are:
| casacore::Matrix<bool> dp3::base::BaselineSelection::apply | ( | const DPInfo & | info | ) | const |
Form the selection matrix telling for each baseline if it is selected. If no selection is made, all values in the matrix are true.
| casacore::Vector<bool> dp3::base::BaselineSelection::applyVec | ( | const DPInfo & | info | ) | const |
Form the selection vector telling if a baseline in the DPInfo object is selected.
| bool dp3::base::BaselineSelection::hasSelection | ( | ) | const |
Is there any selection?
| void dp3::base::BaselineSelection::show | ( | std::ostream & | os, |
| const std::string & | blanks = std::string() |
||
| ) | const |
Show the parameters. Optional extra blanks can be put before the value.