![]() |
PURIFY
Next-generation radio interferometric imaging
|
Interface around measurement sets. More...
#include <casacore.h>
Classes | |
class | ChannelWrapper |
class | const_iterator |
Public Types | |
typedef Eigen::Array< t_real, 2, 1 > | Direction |
Type for (RA, DEC) direction. More... | |
Public Member Functions | |
MeasurementSet (std::string const filename) | |
Constructs the interface around a given measurement set. More... | |
MeasurementSet (MeasurementSet const &c) | |
Shallow measurement set copy. More... | |
std::string const & | filename () const |
Filename of the measurement set. More... | |
MeasurementSet & | filename (std::string const &filename) |
Set new filename. More... | |
::casacore::Table const & | table (std::string const &name="") const |
Gets table or subtable. More... | |
template<class T > | |
::casacore::ScalarColumn< T > | scalar_column (std::string const &col, std::string const &tabname="") const |
Gets scalar column from table. More... | |
template<class T > | |
::casacore::ArrayColumn< T > | array_column (std::string const &col, std::string const &tabname="") const |
Gets array column from table. More... | |
void | clear () |
Clear memory. More... | |
template<class T > | |
Matrix< T > | column (std::string const &column, std::string const &filter="") const |
Data from a column. More... | |
std::size_t | size () const |
Number of channels in the measurement set. More... | |
const_iterator | begin (std::string const &filter="") const |
Iterates over channels. More... | |
const_iterator | end (std::string const &filter="") const |
Iterates over channels. More... | |
ChannelWrapper | operator[] (t_uint i) const |
Returns wrapper over specific channel. More... | |
ChannelWrapper | operator[] (std::tuple< t_uint, std::string > const &i) const |
Returns wrapper over specific channel. More... | |
Direction | direction (t_real tolerance=1e-8, std::string const &filter="") const |
Direction (RA, DEC) in radians. More... | |
Direction::Scalar | right_ascension (t_real tolerance=1e-8, std::string const &filter="") const |
Right ascention in radians. More... | |
Direction::Scalar | declination (t_real tolerance=1e-8, std::string const &filter="") const |
Declination in radians. More... | |
Static Public Attributes | |
static std::string const | default_filter = "WHERE NOT ANY(FLAG)" |
Default filter specifying which data to accept. More... | |
Interface around measurement sets.
Definition at line 27 of file casacore.h.
typedef Eigen::Array<t_real, 2, 1> purify::casa::MeasurementSet::Direction |
Type for (RA, DEC) direction.
Definition at line 35 of file casacore.h.
|
inline |
Constructs the interface around a given measurement set.
Definition at line 38 of file casacore.h.
|
inline |
|
inline |
Gets array column from table.
Definition at line 59 of file casacore.h.
MeasurementSet::const_iterator purify::casa::MeasurementSet::begin | ( | std::string const & | filter = "" | ) | const |
Iterates over channels.
Definition at line 37 of file casacore.cc.
|
inline |
|
inline |
Data from a column.
Definition at line 68 of file casacore.h.
References table().
Referenced by purify::casa::MeasurementSet::ChannelWrapper::data_desc_id(), purify::casa::MeasurementSet::ChannelWrapper::field_ids(), and size().
|
inline |
Declination in radians.
Definition at line 90 of file casacore.h.
References direction().
Referenced by purify::casa::MeasurementSet::ChannelWrapper::declination(), and purify::casa::read_measurementset().
MeasurementSet::Direction purify::casa::MeasurementSet::direction | ( | t_real | tolerance = 1e-8 , |
std::string const & | filter = "" |
||
) | const |
Direction (RA, DEC) in radians.
Definition at line 102 of file casacore.cc.
References PURIFY_DEBUG, and table().
Referenced by declination(), purify::casa::MeasurementSet::ChannelWrapper::direction(), and right_ascension().
MeasurementSet::const_iterator purify::casa::MeasurementSet::end | ( | std::string const & | filter = "" | ) | const |
Iterates over channels.
Definition at line 40 of file casacore.cc.
References size().
Referenced by purify::casa::read_measurementset_channels().
|
inline |
Filename of the measurement set.
Definition at line 44 of file casacore.h.
Referenced by filename(), purify::casa::read_measurementset(), purify::casa::read_measurementset_channels(), and table().
MeasurementSet & purify::casa::MeasurementSet::filename | ( | std::string const & | filename | ) |
MeasurementSet::ChannelWrapper purify::casa::MeasurementSet::operator[] | ( | std::tuple< t_uint, std::string > const & | i | ) | const |
Returns wrapper over specific channel.
Definition at line 47 of file casacore.cc.
References size().
MeasurementSet::ChannelWrapper purify::casa::MeasurementSet::operator[] | ( | t_uint | i | ) | const |
Returns wrapper over specific channel.
Definition at line 43 of file casacore.cc.
|
inline |
Right ascention in radians.
Definition at line 86 of file casacore.h.
References direction().
Referenced by purify::casa::read_measurementset(), and purify::casa::MeasurementSet::ChannelWrapper::right_ascension().
|
inline |
Gets scalar column from table.
Definition at line 53 of file casacore.h.
std::size_t purify::casa::MeasurementSet::size | ( | ) | const |
Number of channels in the measurement set.
Definition at line 27 of file casacore.cc.
References column(), and table().
Referenced by end(), operator[](), and purify::casa::read_measurementset().
casacore::Table const & purify::casa::MeasurementSet::table | ( | std::string const & | name = "" | ) | const |
Gets table or subtable.
Definition at line 18 of file casacore.cc.
References filename().
Referenced by column(), direction(), purify::casa::MeasurementSet::const_iterator::same_measurement_set(), and size().
|
static |
Default filter specifying which data to accept.
Definition at line 33 of file casacore.h.