Line data Source code
1 : //# GJonesDesc.cc: Implementation of GJonesDesc.h 2 : //# Copyright (C) 1996,1997,2001,2002,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 addressed 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 : //# $Id$ 27 : //---------------------------------------------------------------------------- 28 : 29 : #include <synthesis/CalTables/GJonesDesc.h> 30 : #include <casacore/tables/Tables/ScaColDesc.h> 31 : #include <casacore/tables/Tables/ArrColDesc.h> 32 : #include <msvis/MSVis/MSCalEnums.h> 33 : 34 : using namespace casacore; 35 : namespace casa { //# NAMESPACE CASA - BEGIN 36 : 37 : //---------------------------------------------------------------------------- 38 : 39 2 : GJonesPolyDesc::GJonesPolyDesc() : GJonesDesc() 40 : { 41 : // Default null constructor for GJonesPoly cal. table description (v2.0) 42 2 : }; 43 : 44 : //---------------------------------------------------------------------------- 45 : 46 1 : TableDesc GJonesPolyDesc::calMainDesc() 47 : { 48 : // Return the cal_main table descriptor for GJonesPoly 49 : // Output: 50 : // calMainDesc TableDesc cal_mail table descriptor 51 : // 52 : // Create a table descriptor containing the extra GJonesPoly parameters 53 1 : TableDesc td(defaultPolyDesc());; 54 : 55 : // Insert in the GJones descriptor after the GAIN column 56 2 : return insertDesc(GJonesDesc::calMainDesc(), td, "GAIN"); 57 : }; 58 : 59 : //---------------------------------------------------------------------------- 60 : 61 1 : GJonesSplineDesc::GJonesSplineDesc() : GJonesPolyDesc() 62 : { 63 : // Default null constructor for GJonesSpline cal. table description (v2.0) 64 1 : }; 65 : 66 : //---------------------------------------------------------------------------- 67 : 68 1 : TableDesc GJonesSplineDesc::calMainDesc() 69 : { 70 : // Return the cal_main table descriptor for GJonesSpline 71 : // Output: 72 : // calMainDesc TableDesc cal_mail table descriptor 73 : // 74 : // Create a table descriptor containing the extra GJonesSpline parameters 75 1 : TableDesc td(defaultSplineDesc()); 76 : 77 : // Insert in the GJonesPoly descriptor after the POLY_MODE column 78 2 : return insertDesc(GJonesPolyDesc::calMainDesc(), td, "POLY_MODE"); 79 : }; 80 : 81 : //---------------------------------------------------------------------------- 82 : 83 : } //# NAMESPACE CASA - END 84 :