LCOV - code coverage report
Current view: top level - synthesis/TransformMachines - MosaicFTNew.h (source / functions) Hit Total Coverage
Test: casacpp_coverage.info Lines: 0 6 0.0 %
Date: 2024-11-06 17:42:47 Functions: 0 3 0.0 %

          Line data    Source code
       1             : //# MosaicFTNew.h: Definition for MosaicFTNew
       2             : //# Copyright (C) 1996,1997,1998,1999,2000,2002
       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             : #ifndef SYNTHESIS_MOSAICFTNEW_H
      30             : #define SYNTHESIS_MOSAICFTNEW_H
      31             : 
      32             : #include <synthesis/TransformMachines/MosaicFT.h>
      33             : 
      34             : namespace casacore{
      35             : 
      36             :   class MPosition;
      37             :   class UVWMachine;
      38             : }
      39             : 
      40             : namespace casa { //# NAMESPACE CASA - BEGIN
      41             : 
      42             : /*
      43             :   class MosaicFTNew;
      44             :   class SimplePBConvFunc;
      45             : 
      46             : */
      47             : 
      48             : class MosaicFTNew : public MosaicFT {
      49             : public:
      50             : 
      51             :   // Constructor: cachesize is the size of the cache in words
      52             :   // (e.g. a few million is a good number), tilesize is the
      53             :   // size of the tile used in gridding (cannot be less than
      54             :   // 12, 16 works in most cases). 
      55             :   // <group>
      56           0 :   MosaicFTNew(SkyJones* sj, casacore::MPosition mloc, casacore::String stokes,
      57             :             casacore::Long cachesize, casacore::Int tilesize=16, 
      58           0 :               casacore::Bool usezero=true, casacore::Bool useDoublePrec=false):
      59           0 :     MosaicFT(sj,mloc,stokes,cachesize,tilesize,usezero,useDoublePrec){};
      60           0 :   MosaicFTNew(const casacore::RecordInterface& rec):
      61           0 :     MosaicFT(rec){};
      62             :   FTMachine* cloneFTM();
      63             : 
      64             : 
      65             :   // </group>
      66             : 
      67             :   // Get the final image: do the Fourier transform and
      68             :   // grid-correct, then optionally normalize by the summed weights
      69             :   casacore::ImageInterface<casacore::Complex>& getImage(casacore::Matrix<casacore::Float>&, casacore::Bool normalize=true);
      70             :  
      71             :   // Get the final weights image
      72             :   void getWeightImage(casacore::ImageInterface<casacore::Float>&, casacore::Matrix<casacore::Float>&);
      73             : 
      74           0 :   virtual casacore::String name() const {return "MosaicFTNew";};
      75             : 
      76             : protected:        
      77             : 
      78             : };
      79             : 
      80             : } //# NAMESPACE CASA - END
      81             : 
      82             : #endif

Generated by: LCOV version 1.16