Source
xxxxxxxxxx
//# TJonesMCol.h: TJones cal_main table column access
//# Copyright (C) 1996,1997,1998,2001,2002,2003
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public License as published by
//# the Free Software Foundation; either version 2 of the License, or (at your
//# option) any later version.
//#
//# This library is distributed in the hope that it will be useful, but WITHOUT
//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
//# License for more details.
//#
//# You should have received a copy of the GNU Library General Public License
//# along with this library; if not, write to the Free Software Foundation,
//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
//#
//# Correspondence concerning AIPS++ should be adressed as follows:
//# Internet email: aips2-request@nrao.edu.
//# Postal address: AIPS++ Project Office
//# National Radio Astronomy Observatory
//# 520 Edgemont Road
//# Charlottesville, VA 22903-2475 USA
//#
//#
//# $Id$
namespace casa { //# NAMESPACE CASA - BEGIN
// <summary>
// ROTJonesPolyMCol: Read-only TJonesPoly cal_main column access
// </summary>
// <use visibility=export>
// <reviewed reviewer="" date="" tests="" demos="">
// <prerequisite>
// <li> <linkto class="ROCalMainColumns">ROCalMainColumns</linkto> module
// </prerequisite>
//
// <etymology>
// From "read-only","TJonesPoly","cal main" and "columns".
// </etymology>
//
// <synopsis>
// The ROTJonesPolyMCol class allows read-only access to columns in the
// TJonesPoly main calibration table. TJonesPoly matrices are used to
// store atmospheric gain information in the Measurement Equation formalism
// in polynomial form over time.
// </synopsis>
//
// <example>
// <srcblock>
// </srcblock>
// </example>
//
// <motivation>
// Encapsulate read-only access to TJonesPoly calibration table columns.
// </motivation>
//
// <todo asof="02/02/01">
// (i) Deal with non-standard columns.
// (ii) Migrate TJonesMCol to this file.
// </todo>
class ROTJonesPolyMCol : public ROTJonesMCol
{
public:
// Construct from a calibration table
ROTJonesPolyMCol (const TJonesPolyTable& gjpTable);
// Default destructor
virtual ~ROTJonesPolyMCol() {};
// Read-only column accessors
const casacore::ScalarColumn<casacore::String>& polyType() const {return polyType_p;};
const casacore::ScalarColumn<casacore::String>& polyMode() const {return polyMode_p;};
const casacore::ScalarColumn<casacore::Complex>& scaleFactor() const {return scaleFactor_p;};
const casacore::ScalarColumn<casacore::Int>& nPolyAmp() const {return nPolyAmp_p;};
const casacore::ScalarColumn<casacore::Int>& nPolyPhase() const {return nPolyPhase_p;};
const casacore::ArrayColumn<casacore::Double>& polyCoeffAmp() const {return polyCoeffAmp_p;};
const casacore::ArrayColumn<casacore::Double>& polyCoeffPhase() const
{return polyCoeffPhase_p;};