Line data Source code
1 : //# MJonesDesc.h: Define the format of MJones calibration tables 2 : //# Copyright (C) 1996,1997,1998,2003 3 : //# Associated Universities, Inc. Washington DC, USA. 4 : //# 5 : //# This library is free software; you can redistribute it and/or modify it 6 : //# under the terms of the GNU Library General Public License as published by 7 : //# the Free Software Foundation; either version 2 of the License, or (at your 8 : //# option) any later version. 9 : //# 10 : //# This library is distributed in the hope that it will be useful, but WITHOUT 11 : //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 : //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 13 : //# License for more details. 14 : //# 15 : //# You should have received a copy of the GNU Library General Public License 16 : //# along with this library; if not, write to the Free Software Foundation, 17 : //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA. 18 : //# 19 : //# Correspondence concerning AIPS++ should be adressed as follows: 20 : //# Internet email: aips2-request@nrao.edu. 21 : //# Postal address: AIPS++ Project Office 22 : //# National Radio Astronomy Observatory 23 : //# 520 Edgemont Road 24 : //# Charlottesville, VA 22903-2475 USA 25 : //# 26 : //# 27 : //# $Id$ 28 : 29 : #ifndef CALIBRATION_MJONESDESC_H 30 : #define CALIBRATION_MJONESDESC_H 31 : 32 : #include <synthesis/CalTables/CalTableDesc.h> 33 : 34 : namespace casa { //# NAMESPACE CASA - BEGIN 35 : 36 : // <summary> 37 : // MJonesDesc: Define the format of MJones calibration tables 38 : // </summary> 39 : 40 : // <use visibility=export> 41 : 42 : // <reviewed reviewer="" date="" tests="" demos=""> 43 : 44 : // <prerequisite> 45 : // <li> <linkto class="CalTableDesc">CalTableDesc</linkto> module 46 : // </prerequisite> 47 : // 48 : // <etymology> 49 : // From "MJones" and "descriptor". 50 : // </etymology> 51 : // 52 : // <synopsis> 53 : // MJonesDesc defines the format of MJones calibration tables in terms 54 : // of table descriptors <linkto class="casacore::TableDesc">casacore::TableDesc</linkto>, as 55 : // used in the casacore::Table system. Specializations for time-variable and 56 : // solvable MJones calibration tables are provided through inheritance. 57 : // At present, this set of classes returns only the default table formats. 58 : // </etymology> 59 : // 60 : // <example> 61 : // <srcblock> 62 : // </srcblock> 63 : // </example> 64 : // 65 : // <motivation> 66 : // See CalTableDesc. 67 : // </motivation> 68 : // 69 : // <todo asof="98/01/01"> 70 : // Generate calibration table descriptors from a VisSet or VisBuffer object 71 : // </todo> 72 : 73 : class MJonesDesc : public CalTableDesc 74 : { 75 : public: 76 : // Default null constructor, and destructor 77 : MJonesDesc(); 78 0 : virtual ~MJonesDesc() {}; 79 : 80 : // Return the cal_main table descriptor 81 : virtual casacore::TableDesc calMainDesc(); 82 : 83 : private: 84 : // casacore::Table descriptor for second antenna/feed index 85 : casacore::TableDesc itsAnt2Desc; 86 : 87 : // Generate the default table descriptor for second antenna/feed index 88 : casacore::TableDesc defaultAnt2Desc(); 89 : 90 : }; 91 : 92 : 93 : } //# NAMESPACE CASA - END 94 : 95 : #endif 96 : 97 : 98 : 99 : 100 :