LCOV - code coverage report
Current view: top level - synthesis/DataSampling - DataSampling.cc (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 0 23 0.0 %
Date: 2024-10-10 15:00:01 Functions: 0 10 0.0 %

          Line data    Source code
       1             : //# DataSampling.cc: Implementation of DataSampling class
       2             : //# Copyright (C) 1997,1998,1999,2000,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: 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             : #include <synthesis/DataSampling/DataSampling.h>
      29             : #include <casacore/images/Images/ImageInterface.h>
      30             : #include <casacore/casa/Arrays/ArrayLogical.h>
      31             : #include <casacore/casa/Arrays/ArrayMath.h>
      32             : #include <casacore/casa/Arrays/MaskedArray.h>
      33             : #include <casacore/casa/Arrays/Array.h>
      34             : #include <casacore/casa/Arrays/Array.h>
      35             : #include <casacore/casa/Arrays/Vector.h>
      36             : #include <casacore/casa/Arrays/Matrix.h>
      37             : #include <casacore/casa/BasicSL/String.h>
      38             : #include <casacore/casa/Utilities/Assert.h>
      39             : #include <casacore/casa/Exceptions/Error.h>
      40             : #include <sstream>
      41             : 
      42             : using namespace casacore;
      43             : namespace casa { //# NAMESPACE CASA - BEGIN
      44             : 
      45           0 : DataSampling::DataSampling(){}
      46             : 
      47             : //---------------------------------------------------------------------- 
      48           0 : DataSampling& DataSampling::operator=(const DataSampling& other)
      49             : {
      50           0 :   if(this!=&other) {
      51           0 :     prf_p=other.prf_p;
      52           0 :     dx_p=other.dx_p;
      53           0 :     data_p=other.data_p;
      54           0 :     sigma_p=other.sigma_p;
      55             :   };
      56           0 :   return *this;
      57             : };
      58             : 
      59             : //----------------------------------------------------------------------
      60           0 : DataSampling::DataSampling(const DataSampling& other)
      61             : {
      62           0 :   operator=(other);
      63           0 : }
      64             : 
      65             : //----------------------------------------------------------------------
      66           0 : DataSampling::~DataSampling() {
      67           0 : }
      68             : 
      69           0 : const Array<Float>& DataSampling::getPRF() const
      70             : {
      71           0 :   return prf_p;
      72             : }
      73             : 
      74           0 : const Array<Float>& DataSampling::getData() const
      75             : {
      76           0 :   return data_p;
      77             : }
      78             : 
      79           0 : const Array<Float>& DataSampling::getSigma() const
      80             : {
      81           0 :   return sigma_p;
      82             : }
      83             : 
      84           0 : const Array<Float>& DataSampling::getDX() const
      85             : {
      86           0 :   return dx_p;
      87             : }
      88             : 
      89           0 : void DataSampling::ok() {
      90           0 : }
      91             : 
      92             : } //# NAMESPACE CASA - END
      93             : 

Generated by: LCOV version 1.16