#include <DataRecord.h>
Public Member Functions | |
DataRecord () | |
~DataRecord () | |
void | clear () |
method | |
void | setDataSize (size_t n) |
void | setTsysSize (size_t n) |
void | setTcalSize (size_t n) |
DataRecord (DataRecord const &other) | |
DataRecord & | operator= (DataRecord 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 |
uInt | polno |
String | intent |
String | pol_type |
Matrix< Double > | direction |
Matrix< Double > | direction_slice |
Vector< Double > | direction_vector |
Vector< Double > | scan_rate |
Vector< Float > | data |
Vector< Bool > | flag |
Bool | flag_row |
Vector< Float > | tsys |
optional | |
Vector< 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_ |
std::unique_ptr< Float[]> | data_storage_ |
std::unique_ptr< Bool[]> | flag_storage_ |
std::unique_ptr< Float[]> | tsys_storage_ |
std::unique_ptr< Float[]> | tcal_storage_ |
Definition at line 40 of file DataRecord.h.
casa::sdfiller::DataRecord::DataRecord | ( | ) | [inline] |
std::cout << "DataRecord::DataRecord()" << std::endl;
Definition at line 41 of file DataRecord.h.
References clear().
casa::sdfiller::DataRecord::~DataRecord | ( | ) | [inline] |
Definition at line 59 of file DataRecord.h.
casa::sdfiller::DataRecord::DataRecord | ( | DataRecord const & | other | ) | [inline] |
Definition at line 165 of file DataRecord.h.
void casa::sdfiller::DataRecord::clear | ( | ) | [inline] |
method
std::cout << "clear" << std::endl;
Definition at line 63 of file DataRecord.h.
References antenna_id, direction, feed_id, field_id, flag_row, intent, interval, pol_type, polno, pressure, rel_humidity, scan, setDataSize(), setTcalSize(), setTsysSize(), spw_id, subscan, temperature, time, casacore::True, wind_direction, and wind_speed.
Referenced by DataRecord().
DataRecord& casa::sdfiller::DataRecord::operator= | ( | DataRecord const & | other | ) | [inline] |
Definition at line 169 of file DataRecord.h.
References antenna_id, data, data_shape_, direction, direction_slice, direction_vector, feed_id, field_id, flag, flag_row, intent, interval, pol_type, polno, pressure, rel_humidity, scan, scan_rate, setDataSize(), setTcalSize(), setTsysSize(), casacore::SHARE, spw_id, subscan, tcal, tcal_shape_, temperature, time, tsys, tsys_shape_, wind_direction, and wind_speed.
void casa::sdfiller::DataRecord::setDataSize | ( | size_t | n | ) | [inline] |
std::cout << "resize data to " << n << std::endl;
std::cout << "resize data storage to " << new_num_storage << std::endl;
Definition at line 89 of file DataRecord.h.
References block_size_, data, data_shape_, data_storage_, casacore::False, flag, flag_storage_, num_data_storage_, casacore::SHARE, and casacore::True.
Referenced by clear(), and operator=().
void casa::sdfiller::DataRecord::setTcalSize | ( | size_t | n | ) | [inline] |
std::cout << "resize tcal to " << n << std::endl;
std::cout << "resize tcal storage to " << new_num_storage << std::endl;
Definition at line 141 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(), and operator=().
void casa::sdfiller::DataRecord::setTsysSize | ( | size_t | n | ) | [inline] |
std::cout << "resize tsys to " << n << std::endl;
std::cout << "resize tsys storage to " << new_num_storage << std::endl;
Definition at line 117 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(), and operator=().
Definition at line 221 of file DataRecord.h.
Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), casa::sdfiller::DataAccumulator::isValidRecord(), and operator=().
size_t const casa::sdfiller::DataRecord::block_size_ [private] |
Definition at line 205 of file DataRecord.h.
Referenced by setDataSize(), setTcalSize(), and setTsysSize().
Vector<Float> casa::sdfiller::DataRecord::data |
Definition at line 234 of file DataRecord.h.
Referenced by casa::sdfiller::DataChunk::accumulate(), casa::sdfiller::DataChunk::isValidRecord(), operator=(), and setDataSize().
IPosition casa::sdfiller::DataRecord::data_shape_ [private] |
Definition at line 209 of file DataRecord.h.
Referenced by operator=(), and setDataSize().
std::unique_ptr<Float[]> casa::sdfiller::DataRecord::data_storage_ [private] |
Definition at line 212 of file DataRecord.h.
Referenced by setDataSize().
Matrix<Double> casa::sdfiller::DataRecord::direction |
Definition at line 230 of file DataRecord.h.
Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), casa::sdfiller::DataAccumulator::isValidRecord(), and operator=().
Matrix<Double> casa::sdfiller::DataRecord::direction_slice |
Definition at line 231 of file DataRecord.h.
Referenced by operator=().
Vector<Double> casa::sdfiller::DataRecord::direction_vector |
Definition at line 232 of file DataRecord.h.
Referenced by operator=().
Definition at line 224 of file DataRecord.h.
Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), casa::sdfiller::DataAccumulator::isValidRecord(), and operator=().
Definition at line 222 of file DataRecord.h.
Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), casa::sdfiller::DataAccumulator::isValidRecord(), and operator=().
Vector<Bool> casa::sdfiller::DataRecord::flag |
Definition at line 235 of file DataRecord.h.
Referenced by casa::sdfiller::DataChunk::accumulate(), casa::sdfiller::DataChunk::isValidRecord(), operator=(), and setDataSize().
Definition at line 236 of file DataRecord.h.
Referenced by casa::sdfiller::DataChunk::accumulate(), clear(), and operator=().
std::unique_ptr<Bool[]> casa::sdfiller::DataRecord::flag_storage_ [private] |
Definition at line 213 of file DataRecord.h.
Referenced by setDataSize().
Definition at line 228 of file DataRecord.h.
Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), and operator=().
Definition at line 220 of file DataRecord.h.
Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), casa::sdfiller::DataAccumulator::isValidRecord(), and operator=().
size_t casa::sdfiller::DataRecord::num_data_storage_ [private] |
Definition at line 206 of file DataRecord.h.
Referenced by setDataSize().
size_t casa::sdfiller::DataRecord::num_tcal_storage_ [private] |
Definition at line 208 of file DataRecord.h.
Referenced by setTcalSize().
size_t casa::sdfiller::DataRecord::num_tsys_storage_ [private] |
Definition at line 207 of file DataRecord.h.
Referenced by setTsysSize().
Definition at line 229 of file DataRecord.h.
Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), and operator=().
Definition at line 227 of file DataRecord.h.
Referenced by casa::sdfiller::DataChunk::accumulate(), clear(), and operator=().
Definition at line 243 of file DataRecord.h.
Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), and operator=().
Definition at line 244 of file DataRecord.h.
Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), and operator=().
Definition at line 225 of file DataRecord.h.
Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), casa::sdfiller::DataAccumulator::isValidRecord(), and operator=().
Vector<Double> casa::sdfiller::DataRecord::scan_rate |
Definition at line 233 of file DataRecord.h.
Referenced by operator=().
Definition at line 223 of file DataRecord.h.
Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), casa::sdfiller::DataAccumulator::isValidRecord(), and operator=().
Definition at line 226 of file DataRecord.h.
Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), casa::sdfiller::DataAccumulator::isValidRecord(), and operator=().
Vector<Float> casa::sdfiller::DataRecord::tcal |
Definition at line 240 of file DataRecord.h.
Referenced by casa::sdfiller::DataChunk::accumulate(), operator=(), and setTcalSize().
IPosition casa::sdfiller::DataRecord::tcal_shape_ [private] |
Definition at line 211 of file DataRecord.h.
Referenced by operator=(), and setTcalSize().
std::unique_ptr<Float[]> casa::sdfiller::DataRecord::tcal_storage_ [private] |
Definition at line 215 of file DataRecord.h.
Referenced by setTcalSize().
Definition at line 242 of file DataRecord.h.
Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), and operator=().
mandatory
Definition at line 219 of file DataRecord.h.
Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), casa::sdfiller::DataAccumulator::isValidRecord(), operator=(), and casa::sdfiller::DataAccumulator::queryForGet().
Vector<Float> casa::sdfiller::DataRecord::tsys |
optional
Definition at line 239 of file DataRecord.h.
Referenced by casa::sdfiller::DataChunk::accumulate(), operator=(), and setTsysSize().
IPosition casa::sdfiller::DataRecord::tsys_shape_ [private] |
Definition at line 210 of file DataRecord.h.
Referenced by operator=(), and setTsysSize().
std::unique_ptr<Float[]> casa::sdfiller::DataRecord::tsys_storage_ [private] |
Definition at line 214 of file DataRecord.h.
Referenced by setTsysSize().
Definition at line 246 of file DataRecord.h.
Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), and operator=().
Definition at line 245 of file DataRecord.h.
Referenced by casa::sdfiller::DataAccumulator::accumulate(), clear(), and operator=().