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

          Line data    Source code
       1             : //# PBMath2D.cc: Implementation for PBMath2D
       2             : //# Copyright (C) 1996,1997,1998,1999,2000,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 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             : //# $Id$
      28             :  
      29             : #include <casacore/casa/aips.h>
      30             : #include <casacore/casa/BasicSL/Complex.h>
      31             : #include <casacore/casa/Arrays/Matrix.h>
      32             : #include <casacore/casa/Arrays/Vector.h>
      33             : #include <synthesis/TransformMachines/PBMath2D.h>
      34             : 
      35             : #include <casacore/images/Regions/ImageRegion.h>
      36             : #include <casacore/images/Images/ImageInterface.h>
      37             : 
      38             : #include <components/ComponentModels/SkyComponent.h>
      39             : #include <components/ComponentModels/Flux.h>
      40             : #include <components/ComponentModels/ComponentShape.h>
      41             : 
      42             : #include <casacore/lattices/Lattices/LatticeIterator.h>
      43             : #include <casacore/lattices/Lattices/LatticeStepper.h>
      44             : #include <casacore/lattices/LRegions/LCSlicer.h>
      45             : #include <casacore/casa/Arrays/IPosition.h>
      46             : 
      47             : #include <casacore/measures/Measures.h>
      48             : #include <casacore/measures/Measures/MeasConvert.h>
      49             : 
      50             : #include <casacore/coordinates/Coordinates/CoordinateSystem.h>
      51             : #include <casacore/coordinates/Coordinates/DirectionCoordinate.h>
      52             : #include <casacore/coordinates/Coordinates/SpectralCoordinate.h>
      53             : #include <casacore/coordinates/Coordinates/StokesCoordinate.h>
      54             : #include <casacore/coordinates/Coordinates/Projection.h>
      55             : #include <casacore/coordinates/Coordinates/CoordinateUtil.h>
      56             : 
      57             : #include <casacore/casa/BasicSL/String.h>
      58             : #include <casacore/casa/Utilities/Assert.h>
      59             : #include <casacore/casa/Exceptions/Error.h>
      60             : 
      61             : 
      62             : 
      63             : using namespace casacore;
      64             : namespace casa { //# NAMESPACE CASA - BEGIN
      65             : 
      66           0 : PBMath2D::PBMath2D()
      67             : {
      68           0 : };
      69             : 
      70             : 
      71           0 : PBMath2D::~PBMath2D()
      72             : {
      73           0 : };
      74             : 
      75             : 
      76           0 : void PBMath2D::summary(Int nValues)
      77             : {
      78           0 :   String  name;
      79           0 :   namePBClass(name);
      80           0 :   LogIO os(LogOrigin("PBMath2D", "summary"));
      81           0 :   os << "Using " << name << " PB Class " <<  LogIO::POST;
      82           0 :   PBMathInterface::summary(nValues);
      83             : 
      84           0 :   os << "PBMath2D::summary not yet implemented" << LogIO::POST; 
      85             : 
      86           0 : };
      87             : 
      88             : 
      89           0 : Bool PBMath2D::ok()
      90             : {
      91           0 :   return true;
      92             : };
      93             : 
      94             : 
      95             : 
      96             : ImageRegion* 
      97           0 : PBMath2D::extent (const ImageInterface<Complex>& /*in*/, const MDirection& /*pointDir*/,
      98             :                   const Int row, const Float /*fPad*/,  const Int /*iChan*/,
      99             :                   const SkyJones::SizeType /*sizeType*/)
     100             : {
     101             :   if (row) {} // Not used yet
     102             : 
     103           0 :   return  ( new ImageRegion() );
     104             : };
     105             : 
     106             : ImageRegion* 
     107           0 : PBMath2D::extent (const ImageInterface<Float>& /*in*/, const MDirection& /*pointDir*/,
     108             :                   const Int row, const Float /*fPad*/, const Int /*iChan*/,
     109             :                   const SkyJones::SizeType /*sizeType*/)
     110             : {
     111             :   if (row) {} // unused
     112           0 :   return  ( new ImageRegion() );
     113             : };
     114             : 
     115             : 
     116           0 : Int PBMath2D::support(const CoordinateSystem& /*cs*/){
     117             : 
     118           0 :   return 0;
     119             : 
     120             : }
     121             : 
     122             : 
     123             : } //# NAMESPACE CASA - END
     124             : 

Generated by: LCOV version 1.16