//# VisJonesMBuf.h: VisJones calibration main table buffer //# 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$ #ifndef CALIBRATION_VISJONESMBUF_H #define CALIBRATION_VISJONESMBUF_H #include <synthesis/CalTables/CalMainBuffer.h> namespace casa { //# NAMESPACE CASA - BEGIN // <summary> // VisJonesMBuf: VisJones calibration main table buffer // </summary> // <use visibility=export> // <reviewed reviewer="" date="" tests="" demos=""> // <prerequisite> // <li> <linkto class="CalMainBuffer">CalMainBuffer</linkto> module // </prerequisite> // // <etymology> // From "visibility plane Jones matrix", "calibration main table" and "buffer" // </etymology> // // <synopsis> // The VisJonesMBuf class holds a buffer, optionally connected to a // VisJones calibration main table iterator (of base type CalIterBase). // Specializations for time-variable and solvable VisJones // calibration table formats are provided through inheritance. // </synopsis> // // <example> // <srcblock> // </srcblock> // </example> // // <motivation> // Encapsulate VisJones calibration main table data buffers. // </motivation> // // <todo asof="01/08/01"> // (i) Deal with non-standard columns. // </todo> class VisJonesMBuf : public CalMainBuffer { public: // Default constructor. No connection to an underlying // calibration table iterator in this case. VisJonesMBuf(); // Construct from a set of calibration buffer indices and // their specified values. Non-index columns will be set // to default values, and there is no connection to an // underlying calibration table iterator in this case. VisJonesMBuf (const casacore::Vector<casacore::Int>& calIndices, const casacore::Block<casacore::Vector<casacore::Int> >& indexValues); // Construct from a calibration table iterator. The calibration // buffer will remain synchronized with the iterator. VisJonesMBuf (CalIterBase& calIter); protected: private: }; } //# NAMESPACE CASA - END #endif