LCOV - code coverage report
Current view: top level - synthesis/CalTables - SolvableVJMCol.cc (source / functions) Hit Total Coverage
Test: ctest_coverage.info Lines: 13 38 34.2 %
Date: 2023-11-06 10:06:49 Functions: 2 8 25.0 %

          Line data    Source code
       1             : //# SolvableVJMCol.cc: Implementation of SolvableVJMCol.h
       2             : //# Copyright (C) 1996,1997,1998,2001,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/SolvableVJMCol.h>
      30             : 
      31             : using namespace casacore;
      32             : namespace casa { //# NAMESPACE CASA - BEGIN
      33             : 
      34             : //----------------------------------------------------------------------------
      35             : 
      36           0 : ROSolvableVisJonesMCol::ROSolvableVisJonesMCol (const SolvableVisJonesTable& 
      37           0 :                                                 svjTable) :
      38           0 :   ROTimeVarVisJonesMCol (svjTable)
      39             : {
      40             : // Construct from a calibration table
      41             : // Input:
      42             : //    svjTable              const SolvableVisJonesTable&  SVJ calibration table
      43             : // Output to private data:
      44             : //    ROTimeVarVisJonesMCol ROTimeVarVisJonesMCol         Read-only TVVJ 
      45             : //                                                        cal main col
      46             :   // Attach all column accessors for additional SolvableVisJones columns
      47             :   // (all of which are required columns)
      48           0 :   attach (svjTable, totalSolnOk_p, MSC::TOTAL_SOLUTION_OK);
      49           0 :   attach (svjTable, totalFit_p, MSC::TOTAL_FIT);
      50           0 :   attach (svjTable, totalFitWgt_p, MSC::TOTAL_FIT_WEIGHT);
      51           0 :   attach (svjTable, solnOk_p, MSC::SOLUTION_OK);
      52           0 :   attach (svjTable, fit_p, MSC::FIT);
      53           0 :   attach (svjTable, fitWgt_p, MSC::FIT_WEIGHT);
      54           0 :   attach (svjTable, flag_p, MSC::FLAG);
      55           0 :   attach (svjTable, snr_p, MSC::SNR);
      56           0 : };
      57             : 
      58             : //----------------------------------------------------------------------------
      59             : 
      60           3 : SolvableVisJonesMCol::SolvableVisJonesMCol (SolvableVisJonesTable& svjTable) :
      61           3 :   TimeVarVisJonesMCol (svjTable)
      62             : {
      63             : // Construct from a calibration table
      64             : // Input:
      65             : //    svjTable             SolvableVisJonesTable&      SVJ calibration table
      66             : // Output to private data:
      67             : //    TimeVarVisJonesMCol  TimeVarVisJonesMCol         Read-write TVVJ 
      68             : //                                                     cal main col
      69             :   // Attach all column accessors for additional SolvableVisJones columns
      70             :   // (all of which are required columns)
      71           3 :   attach (svjTable, totalSolnOk_p, MSC::TOTAL_SOLUTION_OK);
      72           3 :   attach (svjTable, totalFit_p, MSC::TOTAL_FIT);
      73           3 :   attach (svjTable, totalFitWgt_p, MSC::TOTAL_FIT_WEIGHT);
      74           3 :   attach (svjTable, solnOk_p, MSC::SOLUTION_OK);
      75           3 :   attach (svjTable, fit_p, MSC::FIT);
      76           3 :   attach (svjTable, fitWgt_p, MSC::FIT_WEIGHT);
      77           3 :   attach (svjTable, flag_p, MSC::FLAG);
      78           3 :   attach (svjTable, snr_p, MSC::SNR);
      79           3 : };
      80             : 
      81             : //----------------------------------------------------------------------------
      82             : 
      83           0 : ROGJonesMCol::ROGJonesMCol (const GJonesTable& gjTable) :
      84           0 :   ROSolvableVisJonesMCol (gjTable)
      85             : {
      86             : // Construct from a calibration table
      87             : // Input:
      88             : //    gjTable                 const GJonesTable&          GJones cal table
      89             : // Output to private data:
      90             : //    ROSolvableVisJonesMCol  ROSolvableVisJonesMCol      Read-only SVJ cal 
      91             : //                                                        main col
      92           0 : };
      93             : 
      94             : //----------------------------------------------------------------------------
      95             : 
      96           2 : GJonesMCol::GJonesMCol (GJonesTable& gjTable) : SolvableVisJonesMCol (gjTable)
      97             : {
      98             : // Construct from a calibration table
      99             : // Input:
     100             : //    gjTable              GJonesTable&               GJones calibration table
     101             : // Output to private data:
     102             : //    SolvableVisJonesMCol SolvableVisJonesMCol       Read-write SVJ cal 
     103             : //                                                    main col
     104           2 : };
     105             : 
     106             : //----------------------------------------------------------------------------
     107             : 
     108           0 : RODJonesMCol::RODJonesMCol (const DJonesTable& djTable) :
     109           0 :   ROSolvableVisJonesMCol (djTable)
     110             : {
     111             : // Construct from a calibration table
     112             : // Input:
     113             : //    djTable                 const DJonesTable&       DJones calibration table
     114             : // Output to private data:
     115             : //    ROSolvableVisJonesMCol  ROSolvableVisJonesMCol   Read-only SVJ cal 
     116             : //                                                     main col
     117           0 : };
     118             : 
     119             : //----------------------------------------------------------------------------
     120             : 
     121           0 : DJonesMCol::DJonesMCol (DJonesTable& djTable) : SolvableVisJonesMCol (djTable)
     122             : {
     123             : // Construct from a calibration table
     124             : // Input:
     125             : //    djTable              DJonesTable&               DJones calibration table
     126             : // Output to private data:
     127             : //    SolvableVisJonesMCol SolvableVisJonesMCol       Read-write SVJ cal 
     128             : //                                                    main col
     129           0 : };
     130             : 
     131             : //----------------------------------------------------------------------------
     132             : 
     133           0 : ROTJonesMCol::ROTJonesMCol (const TJonesTable& djTable) :
     134           0 :   ROSolvableVisJonesMCol (djTable)
     135             : {
     136             : // Construct from a calibration table
     137             : // Input:
     138             : //    djTable                 const TJonesTable&       TJones calibration table
     139             : // Output to private data:
     140             : //    ROSolvableVisJonesMCol  ROSolvableVisJonesMCol   Read-only SVJ cal 
     141             : //                                                     main col
     142           0 : };
     143             : 
     144             : //----------------------------------------------------------------------------
     145             : 
     146           0 : TJonesMCol::TJonesMCol (TJonesTable& djTable) : SolvableVisJonesMCol (djTable)
     147             : {
     148             : // Construct from a calibration table
     149             : // Input:
     150             : //    djTable              TJonesTable&               TJones calibration table
     151             : // Output to private data:
     152             : //    SolvableVisJonesMCol SolvableVisJonesMCol       Read-write SVJ cal 
     153             : //                                                    main col
     154           0 : };
     155             : 
     156             : //----------------------------------------------------------------------------
     157             : 
     158             : 
     159             : } //# NAMESPACE CASA - END
     160             : 

Generated by: LCOV version 1.16