casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Attributes | List of all members
casa::sdfiller::MSDataRecord Struct Reference

#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)
 
MSDataRecordoperator= (MSDataRecord const &other)
 

Public Attributes

casacore::Double time
 mandatory More...
 
casacore::Double interval
 
casacore::Int antenna_id
 
casacore::Int field_id
 
casacore::Int spw_id
 
casacore::Int feed_id
 
casacore::Int scan
 
casacore::Int subscan
 
casacore::Int num_pol
 
casacore::String intent
 
casacore::String pol_type
 
casacore::Vector< casacore::Intcorr_type
 
casacore::Matrix
< casacore::Double
direction
 
casacore::Matrix
< casacore::Double
direction_slice
 
casacore::Matrix< casacore::Floatfloat_data
 
casacore::Matrix
< casacore::Complex > 
complex_data
 
casacore::Matrix< casacore::Boolflag
 
casacore::Bool flag_row
 
casacore::Vector< casacore::Floatsigma
 
casacore::Vector
< casacore::Float > & 
weight
 
casacore::Matrix< casacore::Floattsys
 optional More...
 
casacore::Matrix< casacore::Floattcal
 
casacore::Float temperature
 
casacore::Float pressure
 
casacore::Float rel_humidity
 
casacore::Float wind_speed
 
casacore::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_
 
casacore::IPosition data_shape_
 
casacore::IPosition tsys_shape_
 
casacore::IPosition tcal_shape_
 
casacore::IPosition corr_type_shape_
 
casacore::Block< casacore::Intcorr_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_
 

Detailed Description

Definition at line 251 of file DataRecord.h.

Constructor & Destructor Documentation

casa::sdfiller::MSDataRecord::MSDataRecord ( )
inline
casa::sdfiller::MSDataRecord::~MSDataRecord ( )
inline

Definition at line 288 of file DataRecord.h.

casa::sdfiller::MSDataRecord::MSDataRecord ( MSDataRecord const &  other)
inline

Definition at line 450 of file DataRecord.h.

Member Function Documentation

void casa::sdfiller::MSDataRecord::clear ( )
inline
casacore::Bool casa::sdfiller::MSDataRecord::isFloat ( ) const
inline

Definition at line 318 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 326 of file DataRecord.h.

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

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

Member Data Documentation

casacore::Int casa::sdfiller::MSDataRecord::antenna_id

Definition at line 513 of file DataRecord.h.

Referenced by clear(), casa::sdfiller::DataAccumulator::get(), and operator=().

size_t const casa::sdfiller::MSDataRecord::block_size_
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
casacore::IPosition casa::sdfiller::MSDataRecord::corr_type_shape_
private

Definition at line 500 of file DataRecord.h.

Referenced by setDataSize().

casacore::Block<casacore::Int> casa::sdfiller::MSDataRecord::corr_type_storage_
private

Definition at line 501 of file DataRecord.h.

Referenced by setDataSize().

casacore::IPosition casa::sdfiller::MSDataRecord::data_shape_
private

Definition at line 497 of file DataRecord.h.

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

std::unique_ptr<void, sdfiller::Deleter> casa::sdfiller::MSDataRecord::data_storage_
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
casacore::Bool casa::sdfiller::MSDataRecord::flag_row
std::unique_ptr<void, sdfiller::Deleter> casa::sdfiller::MSDataRecord::flag_storage_
private

Definition at line 503 of file DataRecord.h.

Referenced by MSDataRecord(), and setDataSize().

casacore::Matrix<casacore::Float> casa::sdfiller::MSDataRecord::float_data
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=().

casacore::Bool casa::sdfiller::MSDataRecord::is_float_
private

Definition at line 507 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 494 of file DataRecord.h.

Referenced by setDataSize().

casacore::Int casa::sdfiller::MSDataRecord::num_pol
size_t casa::sdfiller::MSDataRecord::num_tcal_storage_
private

Definition at line 496 of file DataRecord.h.

Referenced by setTcalSize().

size_t casa::sdfiller::MSDataRecord::num_tsys_storage_
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().

std::unique_ptr<casacore::Float[]> casa::sdfiller::MSDataRecord::sigma_storage_
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().

casacore::IPosition casa::sdfiller::MSDataRecord::tcal_shape_
private

Definition at line 499 of file DataRecord.h.

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

std::unique_ptr<void, sdfiller::Deleter> casa::sdfiller::MSDataRecord::tcal_storage_
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().

casacore::IPosition casa::sdfiller::MSDataRecord::tsys_shape_
private

Definition at line 498 of file DataRecord.h.

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

std::unique_ptr<void, sdfiller::Deleter> casa::sdfiller::MSDataRecord::tsys_storage_
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=().


The documentation for this struct was generated from the following file: