LCOV - code coverage report
Current view: top level - synthesis/CalTables - BJonesDesc.cc (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 0 9 0.0 %
Date: 2024-10-29 13:38:20 Functions: 0 3 0.0 %

          Line data    Source code
       1             : //# BJonesDesc.cc: Implementation of BJonesDesc.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/BJonesDesc.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 : BJonesDesc::BJonesDesc() : SolvableVisJonesDesc("B Jones")
      40             : {
      41             : // Default null constructor for BJones calibration table description (v2.0)
      42           0 : };
      43             : 
      44             : //----------------------------------------------------------------------------
      45             : 
      46           0 : BJonesPolyDesc::BJonesPolyDesc() : BJonesDesc()
      47             : {
      48             : // Default null constructor for BJonesPoly calibration table description (v2.0)
      49           0 : };
      50             : 
      51             : //----------------------------------------------------------------------------
      52             : 
      53           0 : TableDesc BJonesPolyDesc::calMainDesc()
      54             : {
      55             : // Return the cal_main table descriptor for BJonesPoly
      56             : // Output:
      57             : //    calMainDesc        TableDesc          cal_mail table descriptor
      58             : //
      59             :   // Construct a table descriptor holding the extra parameters
      60             :   // required for general polynomial calibration
      61           0 :   TableDesc td(defaultPolyDesc());
      62             : 
      63             :   // Add the sideband reference phasor value
      64           0 :   td.addColumn(ScalarColumnDesc<Complex>(MSC::fieldName(MSC::SIDEBAND_REF)));
      65             : 
      66           0 :   return insertDesc(BJonesDesc::calMainDesc(), td, "GAIN");
      67           0 : };
      68             : 
      69             : //----------------------------------------------------------------------------
      70             : 
      71             : } //# NAMESPACE CASA - END
      72             : 

Generated by: LCOV version 1.16