casa::sdfiller::MSDataRecord Struct Reference

#include <DataRecord.h>

List of all members.

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)
MSDataRecordoperator= (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_

Detailed Description

Definition at line 249 of file DataRecord.h.


Constructor & Destructor Documentation

casa::sdfiller::MSDataRecord::MSDataRecord (  )  [inline]
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.


Member Function Documentation

void casa::sdfiller::MSDataRecord::clear (  )  [inline]
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]
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]
void casa::sdfiller::MSDataRecord::setFloat (  )  [inline]
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().


Member Data Documentation

Definition at line 511 of file DataRecord.h.

Referenced by clear(), and operator=().

Definition at line 491 of file DataRecord.h.

Referenced by setDataSize(), setTcalSize(), and setTsysSize().

Definition at line 524 of file DataRecord.h.

Referenced by casa::sdfiller::DataChunk::getLinear(), operator=(), and setDataSize().

Definition at line 498 of file DataRecord.h.

Referenced by setDataSize().

Definition at line 499 of file DataRecord.h.

Referenced by setDataSize().

Definition at line 495 of file DataRecord.h.

Referenced by operator=(), and setDataSize().

Definition at line 500 of file DataRecord.h.

Referenced by MSDataRecord(), and setDataSize().

Definition at line 521 of file DataRecord.h.

Referenced by clear(), and operator=().

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=().

Definition at line 501 of file DataRecord.h.

Referenced by MSDataRecord(), 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=().

Definition at line 505 of file DataRecord.h.

Referenced by clear(), isFloat(), operator=(), setComplex(), setDataSize(), and setFloat().

Definition at line 492 of file DataRecord.h.

Referenced by setDataSize().

Definition at line 494 of file DataRecord.h.

Referenced by setTcalSize().

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=().

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=().

Definition at line 497 of file DataRecord.h.

Referenced by operator=(), and setTcalSize().

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=().

mandatory

Definition at line 509 of file DataRecord.h.

Referenced by clear(), and operator=().

Definition at line 496 of file DataRecord.h.

Referenced by operator=(), and setTsysSize().

Definition at line 502 of file DataRecord.h.

Referenced by MSDataRecord(), and setTsysSize().

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=().


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1