LCOV - code coverage report
Current view: top level - synthesis/TransformMachines - AWProjectWBFTNew.h (source / functions) Hit Total Coverage
Test: casa_coverage.info Lines: 0 9 0.0 %
Date: 2023-10-25 08:47:59 Functions: 0 6 0.0 %

          Line data    Source code
       1             : //# AWProjectWBFTNew.h: Definition for AWProjectWBFTNew
       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: 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             : //#
      27             : //# $Id$
      28             : 
      29             : #ifndef SYNTHESIS_AWPROJECTWBFTNEW_H
      30             : #define SYNTHESIS_AWPROJECTWBFTNEW_H
      31             : #define DELTAPA 1.0
      32             : #define MAGICPAVALUE -999.0
      33             : 
      34             : 
      35             : #include <synthesis/TransformMachines/AWProjectWBFT.h>
      36             : 
      37             : namespace casa { //# NAMESPACE CASA - BEGIN
      38             :   
      39             :   class AWProjectWBFTNew : public AWProjectWBFT {
      40             : 
      41             :   public:
      42           0 :     AWProjectWBFTNew(casacore::Int nFacets, casacore::Long cachesize,
      43             :                      casacore::CountedPtr<CFCache>& cfcache,
      44             :                      casacore::CountedPtr<ConvolutionFunction>& cf,
      45             :                      casacore::CountedPtr<VisibilityResamplerBase>& visResampler,
      46             :                      casacore::Bool applyPointingOffset=true,
      47             :                      casacore::Bool doPBCorr=true,
      48             :                      casacore::Int tilesize=16, 
      49             :                      casacore::Float paSteps=5.0, 
      50             :                      casacore::Float pbLimit=5e-4,
      51             :                      casacore::Bool usezero=false,
      52             :                      casacore::Bool conjBeams_p=true,
      53           0 :                      casacore::Bool doublePrecGrid=false):
      54             :       AWProjectWBFT(nFacets, cachesize, cfcache, cf, visResampler, applyPointingOffset, 
      55           0 :                     doPBCorr, tilesize, paSteps, pbLimit, usezero, conjBeams_p, doublePrecGrid){}
      56             : 
      57             :     // Construct from a casacore::Record containing the AWProjectWBFT state
      58             :     AWProjectWBFTNew(const casacore::RecordInterface& stateRec):AWProjectWBFT(stateRec){};
      59             :     
      60             :     // Copy constructor
      61             :     //AWProjectWBFTNew(const AWProjectWBFTNew &other):AWProjectWBFT() {operator=(other);};
      62             : 
      63           0 :     virtual casacore::String name() const {return "AWProjectWBFTNew";};
      64             :     
      65           0 :     ~AWProjectWBFTNew(){};
      66             : 
      67             :     FTMachine* cloneFTM();
      68             : 
      69           0 :     virtual casacore::Bool useWeightImage(){return true;};
      70           0 :     virtual void setDryRun(casacore::Bool val)
      71             :     {
      72           0 :       isDryRun=val;// cerr << "###### " << isDryRun << endl;
      73           0 :     };
      74             : 
      75             :   protected:
      76             :     void ftWeightImage(casacore::Lattice<casacore::Complex>& wtImage, 
      77             :                        const casacore::Matrix<casacore::Float>& sumWt,
      78             :                        const casacore::Bool& doFFTNorm);
      79             : 
      80             :   private:
      81             : 
      82             :   };
      83             : } //# NAMESPACE CASA - END
      84             : 
      85             : #endif

Generated by: LCOV version 1.16