#include <DataRecord.h>
Public Member Functions | |
MSDataRecord () | |
~MSDataRecord () | |
void | clear () |
method | |
Bool | isFloat () const |
void | setFloat () |
void | setComplex () |
void | setDataSize (size_t n, size_t m) |
void | setTsysSize (size_t n, size_t m) |
void | setTcalSize (size_t n, size_t m) |
MSDataRecord (MSDataRecord const &other) | |
MSDataRecord & | operator= (MSDataRecord const &other) |
Public Attributes | |
Double | time |
mandatory | |
Double | interval |
Int | antenna_id |
Int | field_id |
Int | spw_id |
Int | feed_id |
Int | scan |
Int | subscan |
Int | num_pol |
String | intent |
String | pol_type |
Vector< Int > | corr_type |
Matrix< Double > | direction |
Matrix< Double > | direction_slice |
Matrix< Float > | float_data |
Matrix< Complex > | complex_data |
Matrix< Bool > | flag |
Bool | flag_row |
Vector< Float > | sigma |
Vector< Float > & | weight |
Matrix< Float > | tsys |
optional | |
Matrix< Float > | tcal |
Float | temperature |
Float | pressure |
Float | rel_humidity |
Float | wind_speed |
Float | wind_direction |
Private Attributes | |
size_t const | block_size_ |
size_t | num_data_storage_ |
size_t | num_tsys_storage_ |
size_t | num_tcal_storage_ |
IPosition | data_shape_ |
IPosition | tsys_shape_ |
IPosition | tcal_shape_ |
IPosition | corr_type_shape_ |
Block< Int > | corr_type_storage_ |
std::unique_ptr< void, sdfiller::Deleter > | data_storage_ |
std::unique_ptr< void, sdfiller::Deleter > | flag_storage_ |
std::unique_ptr< void, sdfiller::Deleter > | tsys_storage_ |
std::unique_ptr< void, sdfiller::Deleter > | tcal_storage_ |
std::unique_ptr< Float[]> | sigma_storage_ |
Bool | is_float_ |
Definition at line 249 of file DataRecord.h.
casa::sdfiller::MSDataRecord::MSDataRecord | ( | ) | [inline] |
Definition at line 250 of file DataRecord.h.
References clear(), data_storage_, flag_storage_, sigma_storage_, tcal_storage_, and tsys_storage_.
casa::sdfiller::MSDataRecord::~MSDataRecord | ( | ) | [inline] |
Definition at line 286 of file DataRecord.h.
casa::sdfiller::MSDataRecord::MSDataRecord | ( | MSDataRecord const & | other | ) | [inline] |
Definition at line 448 of file DataRecord.h.
void casa::sdfiller::MSDataRecord::clear | ( | ) | [inline] |
method
Definition at line 290 of file DataRecord.h.
References antenna_id, direction, casacore::False, feed_id, field_id, flag_row, intent, interval, is_float_, num_pol, pol_type, pressure, rel_humidity, scan, setDataSize(), setTcalSize(), setTsysSize(), spw_id, subscan, temperature, time, casacore::True, wind_direction, and wind_speed.
Referenced by MSDataRecord().
Bool casa::sdfiller::MSDataRecord::isFloat | ( | ) | const [inline] |
Definition at line 316 of file DataRecord.h.
References is_float_.
MSDataRecord& casa::sdfiller::MSDataRecord::operator= | ( | MSDataRecord const & | other | ) | [inline] |
Definition at line 452 of file DataRecord.h.
References antenna_id, complex_data, corr_type, data_shape_, direction, direction_slice, feed_id, field_id, flag, flag_row, float_data, intent, interval, is_float_, num_pol, pol_type, pressure, rel_humidity, scan, setDataSize(), setTcalSize(), setTsysSize(), casacore::SHARE, spw_id, subscan, tcal, tcal_shape_, temperature, time, tsys, tsys_shape_, wind_direction, and wind_speed.
void casa::sdfiller::MSDataRecord::setComplex | ( | ) | [inline] |
Definition at line 324 of file DataRecord.h.
References casacore::False, and is_float_.
Referenced by casa::sdfiller::DataChunk::getLinear().
void casa::sdfiller::MSDataRecord::setDataSize | ( | size_t | n, | |
size_t | m | |||
) | [inline] |
std::cout << "resize data to " << n << std::endl;
std::cout << "resize data storage to " << new_num_storage << std::endl;
Definition at line 328 of file DataRecord.h.
References block_size_, complex_data, corr_type, corr_type_shape_, corr_type_storage_, data_shape_, data_storage_, casacore::False, flag, flag_storage_, float_data, is_float_, num_data_storage_, casacore::SHARE, sigma, sigma_storage_, and casacore::True.
Referenced by clear(), casa::sdfiller::DataChunk::getLinear(), casa::sdfiller::DataChunk::getLinpol(), casa::sdfiller::DataChunk::getStokes(), and operator=().
void casa::sdfiller::MSDataRecord::setFloat | ( | ) | [inline] |
Definition at line 320 of file DataRecord.h.
References is_float_, and casacore::True.
Referenced by casa::sdfiller::DataChunk::getLinear(), casa::sdfiller::DataChunk::getLinpol(), and casa::sdfiller::DataChunk::getStokes().
void casa::sdfiller::MSDataRecord::setTcalSize | ( | size_t | n, | |
size_t | m | |||
) | [inline] |
std::cout << "resize tcal to " << n << std::endl;
std::cout << "resize tcal to " << n << std::endl;
std::cout << "resize tcal storage to " << new_num_storage << std::endl;
Definition at line 416 of file DataRecord.h.
References block_size_, casacore::False, num_tcal_storage_, casacore::SHARE, tcal, tcal_shape_, tcal_storage_, and casacore::True.
Referenced by clear(), operator=(), casa::sdfiller::DataChunk::setTcal1(), and casa::sdfiller::DataChunk::setTcal2().
void casa::sdfiller::MSDataRecord::setTsysSize | ( | size_t | n, | |
size_t | m | |||
) | [inline] |
std::cout << "resize tsys to " << n << std::endl;
std::cout << "resize tsys to " << n << std::endl;
std::cout << "resize tsys storage to " << new_num_storage << std::endl;
Definition at line 384 of file DataRecord.h.
References block_size_, casacore::False, num_tsys_storage_, casacore::SHARE, casacore::True, tsys, tsys_shape_, and tsys_storage_.
Referenced by clear(), operator=(), casa::sdfiller::DataChunk::setTsys1(), and casa::sdfiller::DataChunk::setTsys2().
Definition at line 511 of file DataRecord.h.
Referenced by clear(), and operator=().
size_t const casa::sdfiller::MSDataRecord::block_size_ [private] |
Definition at line 491 of file DataRecord.h.
Referenced by setDataSize(), setTcalSize(), and setTsysSize().
Matrix<Complex> casa::sdfiller::MSDataRecord::complex_data |
Definition at line 524 of file DataRecord.h.
Referenced by casa::sdfiller::DataChunk::getLinear(), operator=(), and setDataSize().
Vector<Int> casa::sdfiller::MSDataRecord::corr_type |
Definition at line 520 of file DataRecord.h.
Referenced by casa::sdfiller::DataChunk::getLinear(), casa::sdfiller::DataChunk::getLinpol(), casa::sdfiller::DataChunk::getStokes(), operator=(), and setDataSize().
IPosition casa::sdfiller::MSDataRecord::corr_type_shape_ [private] |
Definition at line 498 of file DataRecord.h.
Referenced by setDataSize().
Block<Int> casa::sdfiller::MSDataRecord::corr_type_storage_ [private] |
Definition at line 499 of file DataRecord.h.
Referenced by setDataSize().
IPosition casa::sdfiller::MSDataRecord::data_shape_ [private] |
Definition at line 495 of file DataRecord.h.
Referenced by operator=(), and setDataSize().
std::unique_ptr<void, sdfiller::Deleter> casa::sdfiller::MSDataRecord::data_storage_ [private] |
Definition at line 500 of file DataRecord.h.
Referenced by MSDataRecord(), and setDataSize().
Matrix<Double> casa::sdfiller::MSDataRecord::direction |
Definition at line 521 of file DataRecord.h.
Referenced by clear(), and operator=().
Matrix<Double> casa::sdfiller::MSDataRecord::direction_slice |
Definition at line 522 of file DataRecord.h.
Referenced by operator=().
Definition at line 514 of file DataRecord.h.
Referenced by clear(), and operator=().
Definition at line 512 of file DataRecord.h.
Referenced by clear(), and operator=().
Matrix<Bool> casa::sdfiller::MSDataRecord::flag |
Definition at line 525 of file DataRecord.h.
Referenced by casa::sdfiller::DataChunk::getLinear(), casa::sdfiller::DataChunk::getLinpol(), casa::sdfiller::DataChunk::getStokes(), operator=(), and setDataSize().
Definition at line 526 of file DataRecord.h.
Referenced by clear(), casa::sdfiller::DataChunk::getLinear(), casa::sdfiller::DataChunk::getLinpol(), casa::sdfiller::DataChunk::getStokes(), and operator=().
std::unique_ptr<void, sdfiller::Deleter> casa::sdfiller::MSDataRecord::flag_storage_ [private] |
Definition at line 501 of file DataRecord.h.
Referenced by MSDataRecord(), and setDataSize().
Matrix<Float> casa::sdfiller::MSDataRecord::float_data |
Definition at line 523 of file DataRecord.h.
Referenced by casa::sdfiller::DataChunk::getLinear(), casa::sdfiller::DataChunk::getLinpol(), casa::sdfiller::DataChunk::getStokes(), operator=(), and setDataSize().
Definition at line 518 of file DataRecord.h.
Referenced by clear(), and operator=().
Definition at line 510 of file DataRecord.h.
Referenced by clear(), and operator=().
Bool casa::sdfiller::MSDataRecord::is_float_ [private] |
Definition at line 505 of file DataRecord.h.
Referenced by clear(), isFloat(), operator=(), setComplex(), setDataSize(), and setFloat().
size_t casa::sdfiller::MSDataRecord::num_data_storage_ [private] |
Definition at line 492 of file DataRecord.h.
Referenced by setDataSize().
Definition at line 517 of file DataRecord.h.
Referenced by clear(), casa::sdfiller::DataChunk::getLinear(), casa::sdfiller::DataChunk::getLinpol(), casa::sdfiller::DataChunk::getStokes(), and operator=().
size_t casa::sdfiller::MSDataRecord::num_tcal_storage_ [private] |
Definition at line 494 of file DataRecord.h.
Referenced by setTcalSize().
size_t casa::sdfiller::MSDataRecord::num_tsys_storage_ [private] |
Definition at line 493 of file DataRecord.h.
Referenced by setTsysSize().
Definition at line 519 of file DataRecord.h.
Referenced by clear(), and operator=().
Definition at line 535 of file DataRecord.h.
Referenced by clear(), and operator=().
Definition at line 536 of file DataRecord.h.
Referenced by clear(), and operator=().
Definition at line 515 of file DataRecord.h.
Referenced by clear(), and operator=().
Vector<Float> casa::sdfiller::MSDataRecord::sigma |
Definition at line 527 of file DataRecord.h.
Referenced by setDataSize().
std::unique_ptr<Float[]> casa::sdfiller::MSDataRecord::sigma_storage_ [private] |
Definition at line 504 of file DataRecord.h.
Referenced by MSDataRecord(), and setDataSize().
Definition at line 513 of file DataRecord.h.
Referenced by clear(), and operator=().
Definition at line 516 of file DataRecord.h.
Referenced by clear(), and operator=().
Matrix<Float> casa::sdfiller::MSDataRecord::tcal |
Definition at line 532 of file DataRecord.h.
Referenced by operator=(), casa::sdfiller::DataChunk::setTcal1(), casa::sdfiller::DataChunk::setTcal2(), and setTcalSize().
IPosition casa::sdfiller::MSDataRecord::tcal_shape_ [private] |
Definition at line 497 of file DataRecord.h.
Referenced by operator=(), and setTcalSize().
std::unique_ptr<void, sdfiller::Deleter> casa::sdfiller::MSDataRecord::tcal_storage_ [private] |
Definition at line 503 of file DataRecord.h.
Referenced by MSDataRecord(), and setTcalSize().
Definition at line 534 of file DataRecord.h.
Referenced by clear(), and operator=().
Matrix<Float> casa::sdfiller::MSDataRecord::tsys |
optional
Definition at line 531 of file DataRecord.h.
Referenced by operator=(), casa::sdfiller::DataChunk::setTsys1(), casa::sdfiller::DataChunk::setTsys2(), and setTsysSize().
IPosition casa::sdfiller::MSDataRecord::tsys_shape_ [private] |
Definition at line 496 of file DataRecord.h.
Referenced by operator=(), and setTsysSize().
std::unique_ptr<void, sdfiller::Deleter> casa::sdfiller::MSDataRecord::tsys_storage_ [private] |
Definition at line 502 of file DataRecord.h.
Referenced by MSDataRecord(), and setTsysSize().
Vector<Float>& casa::sdfiller::MSDataRecord::weight |
Definition at line 528 of file DataRecord.h.
Definition at line 538 of file DataRecord.h.
Referenced by clear(), and operator=().
Definition at line 537 of file DataRecord.h.
Referenced by clear(), and operator=().