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::DataRecord Struct Reference

#include <DataRecord.h>

Public Member Functions

 DataRecord ()
 
 ~DataRecord ()
 
void clear ()
 method More...
 
void setDataSize (size_t n)
 
void setTsysSize (size_t n)
 
void setTcalSize (size_t n)
 
 DataRecord (DataRecord const &other)
 
DataRecordoperator= (DataRecord 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::Stokes::StokesTypes pol
 
casacore::String intent
 
casacore::String pol_type
 
casacore::Matrix
< casacore::Double
direction
 
casacore::Matrix
< casacore::Double
direction_slice
 
casacore::Vector
< casacore::Double
direction_vector
 
casacore::Vector
< casacore::Double
scan_rate
 
casacore::Vector< casacore::Floatdata
 
casacore::Vector< casacore::Boolflag
 
casacore::Bool flag_row
 
casacore::Vector< casacore::Floattsys
 optional More...
 
casacore::Vector< 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_
 
std::unique_ptr< casacore::Float[]> data_storage_
 
std::unique_ptr< casacore::Bool[]> flag_storage_
 
std::unique_ptr< casacore::Float[]> tsys_storage_
 
std::unique_ptr< casacore::Float[]> tcal_storage_
 

Detailed Description

Definition at line 42 of file DataRecord.h.

Constructor & Destructor Documentation

casa::sdfiller::DataRecord::DataRecord ( )
inline

std::cout << "DataRecord::DataRecord()" << std::endl;

Definition at line 43 of file DataRecord.h.

References clear().

casa::sdfiller::DataRecord::~DataRecord ( )
inline

Definition at line 61 of file DataRecord.h.

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

Definition at line 167 of file DataRecord.h.

Member Function Documentation

void casa::sdfiller::DataRecord::clear ( )
inline
DataRecord& casa::sdfiller::DataRecord::operator= ( DataRecord const &  other)
inline
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 91 of file DataRecord.h.

References block_size_, data, data_shape_, data_storage_, flag, flag_storage_, num_data_storage_, casacore::SHARE, and casacore::Array< T >::takeStorage().

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 143 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(), 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 119 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(), and operator=().

Member Data Documentation

casacore::Int casa::sdfiller::DataRecord::antenna_id
size_t const casa::sdfiller::DataRecord::block_size_
private

Definition at line 207 of file DataRecord.h.

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

casacore::Vector<casacore::Float> casa::sdfiller::DataRecord::data
casacore::IPosition casa::sdfiller::DataRecord::data_shape_
private

Definition at line 211 of file DataRecord.h.

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

std::unique_ptr<casacore::Float[]> casa::sdfiller::DataRecord::data_storage_
private

Definition at line 214 of file DataRecord.h.

Referenced by setDataSize().

casacore::Matrix<casacore::Double> casa::sdfiller::DataRecord::direction
casacore::Matrix<casacore::Double> casa::sdfiller::DataRecord::direction_slice

Definition at line 233 of file DataRecord.h.

Referenced by operator=().

casacore::Vector<casacore::Double> casa::sdfiller::DataRecord::direction_vector

Definition at line 234 of file DataRecord.h.

Referenced by operator=().

casacore::Int casa::sdfiller::DataRecord::feed_id
casacore::Int casa::sdfiller::DataRecord::field_id
casacore::Vector<casacore::Bool> casa::sdfiller::DataRecord::flag
casacore::Bool casa::sdfiller::DataRecord::flag_row

Definition at line 238 of file DataRecord.h.

Referenced by casa::sdfiller::DataChunk::accumulate(), clear(), and operator=().

std::unique_ptr<casacore::Bool[]> casa::sdfiller::DataRecord::flag_storage_
private

Definition at line 215 of file DataRecord.h.

Referenced by setDataSize().

casacore::String casa::sdfiller::DataRecord::intent

Definition at line 230 of file DataRecord.h.

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

casacore::Double casa::sdfiller::DataRecord::interval
size_t casa::sdfiller::DataRecord::num_data_storage_
private

Definition at line 208 of file DataRecord.h.

Referenced by setDataSize().

size_t casa::sdfiller::DataRecord::num_tcal_storage_
private

Definition at line 210 of file DataRecord.h.

Referenced by setTcalSize().

size_t casa::sdfiller::DataRecord::num_tsys_storage_
private

Definition at line 209 of file DataRecord.h.

Referenced by setTsysSize().

casacore::Stokes::StokesTypes casa::sdfiller::DataRecord::pol

Definition at line 229 of file DataRecord.h.

Referenced by casa::sdfiller::DataChunk::accumulate(), clear(), and operator=().

casacore::String casa::sdfiller::DataRecord::pol_type

Definition at line 231 of file DataRecord.h.

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

casacore::Float casa::sdfiller::DataRecord::pressure

Definition at line 245 of file DataRecord.h.

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

casacore::Float casa::sdfiller::DataRecord::rel_humidity

Definition at line 246 of file DataRecord.h.

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

casacore::Int casa::sdfiller::DataRecord::scan
casacore::Vector<casacore::Double> casa::sdfiller::DataRecord::scan_rate

Definition at line 235 of file DataRecord.h.

Referenced by operator=().

casacore::Int casa::sdfiller::DataRecord::spw_id
casacore::Int casa::sdfiller::DataRecord::subscan
casacore::Vector<casacore::Float> casa::sdfiller::DataRecord::tcal

Definition at line 242 of file DataRecord.h.

Referenced by casa::sdfiller::DataChunk::accumulate(), operator=(), and setTcalSize().

casacore::IPosition casa::sdfiller::DataRecord::tcal_shape_
private

Definition at line 213 of file DataRecord.h.

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

std::unique_ptr<casacore::Float[]> casa::sdfiller::DataRecord::tcal_storage_
private

Definition at line 217 of file DataRecord.h.

Referenced by setTcalSize().

casacore::Float casa::sdfiller::DataRecord::temperature

Definition at line 244 of file DataRecord.h.

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

casacore::Double casa::sdfiller::DataRecord::time
casacore::Vector<casacore::Float> casa::sdfiller::DataRecord::tsys

optional

Definition at line 241 of file DataRecord.h.

Referenced by casa::sdfiller::DataChunk::accumulate(), operator=(), and setTsysSize().

casacore::IPosition casa::sdfiller::DataRecord::tsys_shape_
private

Definition at line 212 of file DataRecord.h.

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

std::unique_ptr<casacore::Float[]> casa::sdfiller::DataRecord::tsys_storage_
private

Definition at line 216 of file DataRecord.h.

Referenced by setTsysSize().

casacore::Float casa::sdfiller::DataRecord::wind_direction

Definition at line 248 of file DataRecord.h.

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

casacore::Float casa::sdfiller::DataRecord::wind_speed

Definition at line 247 of file DataRecord.h.

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


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