Line data Source code
1 : //# TJonesDesc.cc: Implementation of TJonesDesc.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: casa-feedback@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/TJonesDesc.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 0 : TJonesPolyDesc::TJonesPolyDesc() : TJonesDesc() 40 : { 41 : // Default null constructor for TJonesPoly cal. table description (v2.0) 42 0 : }; 43 : 44 : //---------------------------------------------------------------------------- 45 : 46 0 : TableDesc TJonesPolyDesc::calMainDesc() 47 : { 48 : // Return the cal_main table descriptor for TJonesPoly 49 : // Output: 50 : // calMainDesc TableDesc cal_mail table descriptor 51 : // 52 : // Create a table descriptor containing the extra TJonesPoly parameters 53 0 : TableDesc td(defaultPolyDesc());; 54 : 55 : // Insert in the TJones descriptor after the GAIN column 56 0 : return insertDesc(TJonesDesc::calMainDesc(), td, "GAIN"); 57 0 : }; 58 : 59 : //---------------------------------------------------------------------------- 60 : 61 0 : TJonesSplineDesc::TJonesSplineDesc() : TJonesPolyDesc() 62 : { 63 : // Default null constructor for TJonesSpline cal. table description (v2.0) 64 0 : }; 65 : 66 : //---------------------------------------------------------------------------- 67 : 68 0 : TableDesc TJonesSplineDesc::calMainDesc() 69 : { 70 : // Return the cal_main table descriptor for TJonesSpline 71 : // Output: 72 : // calMainDesc TableDesc cal_mail table descriptor 73 : // 74 : // Create a table descriptor containing the extra TJonesSpline parameters 75 0 : TableDesc td(defaultSplineDesc()); 76 : 77 : // Insert in the TJonesPoly descriptor after the POLY_MODE column 78 0 : return insertDesc(TJonesPolyDesc::calMainDesc(), td, "POLY_MODE"); 79 0 : }; 80 : 81 : //---------------------------------------------------------------------------- 82 : 83 : } //# NAMESPACE CASA - END 84 :