casa
5.7.0-16
|
#include <DataRecord.h>
Public Member Functions | |
MSDataRecord () | |
~MSDataRecord () | |
void | clear () |
method More... | |
casacore::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) |
Private Attributes | |
size_t const | block_size_ |
size_t | num_data_storage_ |
size_t | num_tsys_storage_ |
size_t | num_tcal_storage_ |
casacore::IPosition | data_shape_ |
casacore::IPosition | tsys_shape_ |
casacore::IPosition | tcal_shape_ |
casacore::IPosition | corr_type_shape_ |
casacore::Block< casacore::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< casacore::Float[]> | sigma_storage_ |
casacore::Bool | is_float_ |
Definition at line 251 of file DataRecord.h.
|
inline |
Definition at line 252 of file DataRecord.h.
References clear(), data_storage_, flag_storage_, sigma_storage_, tcal_storage_, and tsys_storage_.
|
inline |
Definition at line 288 of file DataRecord.h.
|
inline |
Definition at line 450 of file DataRecord.h.
|
inline |
method
Definition at line 292 of file DataRecord.h.
References antenna_id, direction, 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, wind_direction, and wind_speed.
Referenced by casa::sdfiller::DataAccumulator::get(), and MSDataRecord().
|
inline |
Definition at line 318 of file DataRecord.h.
References is_float_.
|
inline |
Definition at line 454 of file DataRecord.h.
References antenna_id, complex_data, corr_type, casacore::Array< T >::data(), 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::Matrix< T >::shape(), casacore::SHARE, spw_id, subscan, casacore::Array< T >::takeStorage(), tcal, tcal_shape_, temperature, time, tsys, tsys_shape_, wind_direction, and wind_speed.
|
inline |
Definition at line 326 of file DataRecord.h.
References is_float_.
Referenced by casa::sdfiller::DataChunk::getLinear().
|
inline |
std::cout << "resize data to " << n << std::endl;
std::cout << "resize data storage to " << new_num_storage << std::endl;
Definition at line 330 of file DataRecord.h.
References block_size_, complex_data, corr_type, corr_type_shape_, corr_type_storage_, data_shape_, data_storage_, flag, flag_storage_, float_data, is_float_, num_data_storage_, casacore::SHARE, sigma, sigma_storage_, casacore::Block< T >::storage(), and casacore::Array< T >::takeStorage().
Referenced by clear(), casa::sdfiller::DataChunk::getLinear(), casa::sdfiller::DataChunk::getLinpol(), casa::sdfiller::DataChunk::getStokes(), and operator=().
|
inline |
Definition at line 322 of file DataRecord.h.
References is_float_.
Referenced by casa::sdfiller::DataChunk::getLinear(), casa::sdfiller::DataChunk::getLinpol(), and casa::sdfiller::DataChunk::getStokes().
|
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 418 of file DataRecord.h.
References block_size_, num_tcal_storage_, casacore::SHARE, casacore::Array< T >::takeStorage(), tcal, tcal_shape_, and tcal_storage_.
Referenced by clear(), operator=(), and casa::sdfiller::DataChunk::setTcal1().
|
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 386 of file DataRecord.h.
References block_size_, num_tsys_storage_, casacore::SHARE, casacore::Array< T >::takeStorage(), tsys, tsys_shape_, and tsys_storage_.
Referenced by clear(), operator=(), and casa::sdfiller::DataChunk::setTsys1().
casacore::Int casa::sdfiller::MSDataRecord::antenna_id |
Definition at line 513 of file DataRecord.h.
Referenced by clear(), casa::sdfiller::DataAccumulator::get(), and operator=().
|
private |
Definition at line 493 of file DataRecord.h.
Referenced by setDataSize(), setTcalSize(), and setTsysSize().
casacore::Matrix<casacore::Complex> casa::sdfiller::MSDataRecord::complex_data |
Definition at line 526 of file DataRecord.h.
Referenced by casa::sdfiller::DataChunk::getLinear(), operator=(), and setDataSize().
casacore::Vector<casacore::Int> casa::sdfiller::MSDataRecord::corr_type |
Definition at line 522 of file DataRecord.h.
Referenced by casa::sdfiller::DataChunk::getLinear(), casa::sdfiller::DataChunk::getLinpol(), casa::sdfiller::DataChunk::getStokes(), operator=(), and setDataSize().
|
private |
Definition at line 500 of file DataRecord.h.
Referenced by setDataSize().
|
private |
Definition at line 501 of file DataRecord.h.
Referenced by setDataSize().
|
private |
Definition at line 497 of file DataRecord.h.
Referenced by operator=(), and setDataSize().
|
private |
Definition at line 502 of file DataRecord.h.
Referenced by MSDataRecord(), and setDataSize().
casacore::Matrix<casacore::Double> casa::sdfiller::MSDataRecord::direction |
Definition at line 523 of file DataRecord.h.
Referenced by clear(), casa::sdfiller::DataAccumulator::get(), and operator=().
casacore::Matrix<casacore::Double> casa::sdfiller::MSDataRecord::direction_slice |
Definition at line 524 of file DataRecord.h.
Referenced by operator=().
casacore::Int casa::sdfiller::MSDataRecord::feed_id |
Definition at line 516 of file DataRecord.h.
Referenced by clear(), casa::sdfiller::DataAccumulator::get(), and operator=().
casacore::Int casa::sdfiller::MSDataRecord::field_id |
Definition at line 514 of file DataRecord.h.
Referenced by clear(), casa::sdfiller::DataAccumulator::get(), and operator=().
casacore::Matrix<casacore::Bool> casa::sdfiller::MSDataRecord::flag |
Definition at line 527 of file DataRecord.h.
Referenced by casa::sdfiller::DataChunk::getLinear(), casa::sdfiller::DataChunk::getLinpol(), casa::sdfiller::DataChunk::getStokes(), operator=(), and setDataSize().
casacore::Bool casa::sdfiller::MSDataRecord::flag_row |
Definition at line 528 of file DataRecord.h.
Referenced by clear(), casa::sdfiller::DataChunk::getLinear(), casa::sdfiller::DataChunk::getLinpol(), casa::sdfiller::DataChunk::getStokes(), and operator=().
|
private |
Definition at line 503 of file DataRecord.h.
Referenced by MSDataRecord(), and setDataSize().
casacore::Matrix<casacore::Float> casa::sdfiller::MSDataRecord::float_data |
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().
casacore::String casa::sdfiller::MSDataRecord::intent |
Definition at line 520 of file DataRecord.h.
Referenced by clear(), casa::sdfiller::DataAccumulator::get(), and operator=().
casacore::Double casa::sdfiller::MSDataRecord::interval |
Definition at line 512 of file DataRecord.h.
Referenced by clear(), casa::sdfiller::DataAccumulator::get(), and operator=().
|
private |
Definition at line 507 of file DataRecord.h.
Referenced by clear(), isFloat(), operator=(), setComplex(), setDataSize(), and setFloat().
|
private |
Definition at line 494 of file DataRecord.h.
Referenced by setDataSize().
casacore::Int casa::sdfiller::MSDataRecord::num_pol |
Definition at line 519 of file DataRecord.h.
Referenced by clear(), casa::sdfiller::DataChunk::getLinear(), casa::sdfiller::DataChunk::getLinpol(), casa::sdfiller::DataChunk::getStokes(), and operator=().
|
private |
Definition at line 496 of file DataRecord.h.
Referenced by setTcalSize().
|
private |
Definition at line 495 of file DataRecord.h.
Referenced by setTsysSize().
casacore::String casa::sdfiller::MSDataRecord::pol_type |
Definition at line 521 of file DataRecord.h.
Referenced by clear(), casa::sdfiller::DataAccumulator::get(), and operator=().
casacore::Float casa::sdfiller::MSDataRecord::pressure |
Definition at line 537 of file DataRecord.h.
Referenced by clear(), casa::sdfiller::DataAccumulator::get(), and operator=().
casacore::Float casa::sdfiller::MSDataRecord::rel_humidity |
Definition at line 538 of file DataRecord.h.
Referenced by clear(), casa::sdfiller::DataAccumulator::get(), and operator=().
casacore::Int casa::sdfiller::MSDataRecord::scan |
Definition at line 517 of file DataRecord.h.
Referenced by clear(), casa::sdfiller::DataAccumulator::get(), and operator=().
casacore::Vector<casacore::Float> casa::sdfiller::MSDataRecord::sigma |
Definition at line 529 of file DataRecord.h.
Referenced by setDataSize().
|
private |
Definition at line 506 of file DataRecord.h.
Referenced by MSDataRecord(), and setDataSize().
casacore::Int casa::sdfiller::MSDataRecord::spw_id |
Definition at line 515 of file DataRecord.h.
Referenced by clear(), casa::sdfiller::DataAccumulator::get(), and operator=().
casacore::Int casa::sdfiller::MSDataRecord::subscan |
Definition at line 518 of file DataRecord.h.
Referenced by clear(), casa::sdfiller::DataAccumulator::get(), and operator=().
casacore::Matrix<casacore::Float> casa::sdfiller::MSDataRecord::tcal |
Definition at line 534 of file DataRecord.h.
Referenced by operator=(), casa::sdfiller::DataChunk::setTcal1(), and setTcalSize().
|
private |
Definition at line 499 of file DataRecord.h.
Referenced by operator=(), and setTcalSize().
|
private |
Definition at line 505 of file DataRecord.h.
Referenced by MSDataRecord(), and setTcalSize().
casacore::Float casa::sdfiller::MSDataRecord::temperature |
Definition at line 536 of file DataRecord.h.
Referenced by clear(), casa::sdfiller::DataAccumulator::get(), and operator=().
casacore::Double casa::sdfiller::MSDataRecord::time |
mandatory
Definition at line 511 of file DataRecord.h.
Referenced by clear(), casa::sdfiller::DataAccumulator::get(), and operator=().
casacore::Matrix<casacore::Float> casa::sdfiller::MSDataRecord::tsys |
optional
Definition at line 533 of file DataRecord.h.
Referenced by operator=(), casa::sdfiller::DataChunk::setTsys1(), and setTsysSize().
|
private |
Definition at line 498 of file DataRecord.h.
Referenced by operator=(), and setTsysSize().
|
private |
Definition at line 504 of file DataRecord.h.
Referenced by MSDataRecord(), and setTsysSize().
casacore::Vector<casacore::Float>& casa::sdfiller::MSDataRecord::weight |
Definition at line 530 of file DataRecord.h.
casacore::Float casa::sdfiller::MSDataRecord::wind_direction |
Definition at line 540 of file DataRecord.h.
Referenced by clear(), casa::sdfiller::DataAccumulator::get(), and operator=().
casacore::Float casa::sdfiller::MSDataRecord::wind_speed |
Definition at line 539 of file DataRecord.h.
Referenced by clear(), casa::sdfiller::DataAccumulator::get(), and operator=().