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

#include <MSTransformManager.h>

Public Member Functions

 spwInfo ()
 
 spwInfo (casacore::uInt nChannels)
 
 spwInfo (casacore::Vector< casacore::Double > &chanFreq, casacore::Vector< casacore::Double > &chanWidth)
 
void reset (casacore::Vector< casacore::Double > &chanFreq, casacore::Vector< casacore::Double > &chanWidth)
 
void initialize (casacore::uInt nChannels)
 
void update ()
 
void resize (casacore::uInt nChannels)
 

Public Attributes

casacore::uInt NUM_CHAN
 
casacore::Vector
< casacore::Double
CHAN_FREQ
 
casacore::Vector
< casacore::Double
CHAN_WIDTH
 
casacore::Vector
< casacore::Double
EFFECTIVE_BW
 
casacore::Vector
< casacore::Double
RESOLUTION
 
casacore::Vector
< casacore::Double
CHAN_FREQ_aux
 
casacore::Double TOTAL_BANDWIDTH
 
casacore::Double REF_FREQUENCY
 
casacore::Double upperBound
 
casacore::Double lowerBound
 

Detailed Description

Definition at line 248 of file MSTransformManager.h.

Constructor & Destructor Documentation

casa::spwInfo::spwInfo ( )
inline

Definition at line 250 of file MSTransformManager.h.

References initialize().

casa::spwInfo::spwInfo ( casacore::uInt  nChannels)
inline

Definition at line 255 of file MSTransformManager.h.

References initialize().

casa::spwInfo::spwInfo ( casacore::Vector< casacore::Double > &  chanFreq,
casacore::Vector< casacore::Double > &  chanWidth 
)
inline

Definition at line 260 of file MSTransformManager.h.

References reset().

Member Function Documentation

void casa::spwInfo::initialize ( casacore::uInt  nChannels)
inline
void casa::spwInfo::reset ( casacore::Vector< casacore::Double > &  chanFreq,
casacore::Vector< casacore::Double > &  chanWidth 
)
inline

Definition at line 265 of file MSTransformManager.h.

References CHAN_FREQ, CHAN_WIDTH, initialize(), casacore::ArrayBase::size(), and update().

Referenced by spwInfo().

void casa::spwInfo::resize ( casacore::uInt  nChannels)
inline
void casa::spwInfo::update ( )
inline

ensure width is positive

ensure width is negative, may not be the case regridding (without combine) preserves the sign but the width computation is always positive due to use of original combine+regrid cvel code that converts all channels to ascending

Definition at line 287 of file MSTransformManager.h.

References casacore::abs(), casacore::Array< T >::begin(), CHAN_FREQ, CHAN_FREQ_aux, CHAN_WIDTH, EFFECTIVE_BW, casacore::Array< T >::end(), lowerBound, NUM_CHAN, REF_FREQUENCY, RESOLUTION, TOTAL_BANDWIDTH, and upperBound.

Referenced by reset(), and resize().

Member Data Documentation

casacore::Vector<casacore::Double> casa::spwInfo::CHAN_FREQ

Definition at line 330 of file MSTransformManager.h.

Referenced by initialize(), reset(), resize(), and update().

casacore::Vector<casacore::Double> casa::spwInfo::CHAN_FREQ_aux

Definition at line 334 of file MSTransformManager.h.

Referenced by initialize(), resize(), and update().

casacore::Vector<casacore::Double> casa::spwInfo::CHAN_WIDTH

Definition at line 331 of file MSTransformManager.h.

Referenced by initialize(), reset(), resize(), and update().

casacore::Vector<casacore::Double> casa::spwInfo::EFFECTIVE_BW

Definition at line 332 of file MSTransformManager.h.

Referenced by initialize(), resize(), and update().

casacore::Double casa::spwInfo::lowerBound

Definition at line 338 of file MSTransformManager.h.

Referenced by initialize(), and update().

casacore::uInt casa::spwInfo::NUM_CHAN

Definition at line 329 of file MSTransformManager.h.

Referenced by initialize(), resize(), and update().

casacore::Double casa::spwInfo::REF_FREQUENCY

Definition at line 336 of file MSTransformManager.h.

Referenced by initialize(), and update().

casacore::Vector<casacore::Double> casa::spwInfo::RESOLUTION

Definition at line 333 of file MSTransformManager.h.

Referenced by initialize(), resize(), and update().

casacore::Double casa::spwInfo::TOTAL_BANDWIDTH

Definition at line 335 of file MSTransformManager.h.

Referenced by initialize(), and update().

casacore::Double casa::spwInfo::upperBound

Definition at line 337 of file MSTransformManager.h.

Referenced by initialize(), and update().


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