LCOV - code coverage report
Current view: top level - synthesis/MeasurementComponents - AccorJones.h (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 0 12 0.0 %
Date: 2024-10-10 11:40:37 Functions: 0 12 0.0 %

          Line data    Source code
       1             : //# AccorJones.h: Declaration of amplitude normalization VisCal
       2             : //# Copyright (C) 1996,1997,2000,2001,2002,2003,2011,2016,2017
       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: 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             : //#
      27             : 
      28             : #ifndef SYNTHESIS_ACCORJONES_H
      29             : #define SYNTHESIS_ACCORJONES_H
      30             : 
      31             : #include <casacore/casa/aips.h>
      32             : #include <synthesis/MeasurementComponents/SolvableVisCal.h>
      33             : 
      34             : namespace casa { //# NAMESPACE CASA - BEGIN
      35             : 
      36             : // Accor (normalization) VisCal
      37             : class AccorJones : public SolvableVisJones {
      38             : public:
      39             :   AccorJones(VisSet& vs);
      40             :   AccorJones(casacore::String msname,casacore::Int MSnAnt,casacore::Int MSnSpw);
      41             :   AccorJones(const MSMetaInfoForCal& msmc);
      42             :   AccorJones(const casacore::Int& nAnt);
      43             : 
      44             :   virtual ~AccorJones();
      45             : 
      46             :   // Return the type enum
      47           0 :   virtual Type type() { return VisCal::G; };
      48             : 
      49             :   // Return type name as string
      50           0 :   virtual casacore::String typeName()     { return "Accor Jones"; };
      51           0 :   virtual casacore::String longTypeName() { return "Accor Jones (normalization)"; };
      52             : 
      53             :   // Type of Jones matrix according to nPar()
      54           0 :   virtual Jones::JonesType jonesType() { return Jones::Diagonal; };
      55             : 
      56             :   // This type is smoothable
      57           0 :   virtual casacore::Bool smoothable() { return true; };
      58             : 
      59             :   // Nominally, we will only use parallel hands for now
      60           0 :   virtual casacore::Bool phandonly() { return true; };
      61             : 
      62           0 :   virtual casacore::Bool normalizable() { return true; };
      63             : 
      64           0 :   virtual casacore::Bool useGenericSolveOne() { return false; }
      65             : 
      66             :   // Hazard a guess at parameters (unneeded here)
      67           0 :   virtual void guessPar(VisBuffer&) {};
      68             : 
      69             :   // Local implementation of selfSolveOne (generalized signature)
      70             :   virtual void selfSolveOne(VisBuffGroupAcc& vbga);
      71             :   virtual void selfSolveOne(SDBList& sdbs);
      72             : 
      73             :   virtual void keepNCT();
      74             : 
      75             : protected:
      76             : 
      77             :   // G has two trivial casacore::Complex parameters
      78           0 :   virtual casacore::Int nPar() { return 2; };
      79             : 
      80             :   // Jones matrix elements are trivial
      81           0 :   virtual casacore::Bool trivialJonesElem() { return true; };
      82             : 
      83             :   // dG/dp are trivial
      84           0 :   virtual casacore::Bool trivialDJ() { return true; };
      85             : 
      86             :   // Initialize trivial dJs
      87             :   virtual void initTrivDJ();
      88             : };
      89             : 
      90             : } //# NAMESPACE CASA - END
      91             : 
      92             : #endif

Generated by: LCOV version 1.16