casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AWProjectWBFTNew.h
Go to the documentation of this file.
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_TRANSFORM2_AWPROJECTWBFTNEW_H
30 #define SYNTHESIS_TRANSFORM2_AWPROJECTWBFTNEW_H
31 #define DELTAPA 1.0
32 #define MAGICPAVALUE -999.0
33 
34 
36 
37 namespace casa { //# NAMESPACE CASA - BEGIN
38 
39  namespace refim {
41 
42  public:
47  casacore::Bool applyPointingOffset=true,
48  casacore::Bool doPBCorr=true,
50  casacore::Float paSteps=5.0,
51  casacore::Float pbLimit=5e-4,
52  casacore::Bool usezero=false,
55  AWProjectWBFT(nFacets, cachesize, cfcache, cf, visResampler, applyPointingOffset,
56  doPBCorr, tilesize, paSteps, pbLimit, usezero, conjBeams_p, doublePrecGrid){}
57 
58  // Construct from a casacore::Record containing the AWProjectWBFT state
60 
61  // Copy constructor
62  //AWProjectWBFTNew(const AWProjectWBFTNew &other):AWProjectWBFT() {operator=(other);};
63 
64  virtual casacore::String name() const {return "AWProjectWBFTNew";};
65 
67 
69 
70  virtual casacore::Bool useWeightImage(){return true;};
71  virtual void setDryRun(casacore::Bool val)
72  {
73  isDryRun=val;
74  //cerr << "###### " << isDryRun << endl;
75  };
76 
77  protected:
80  const casacore::Bool& doFFTNorm);
81 
82  private:
83 
84  };
85 } //# NAMESPACE CASA - END
86 };
87 #endif
casacore::Long cachesize
Sizes.
Definition: AWProjectFT.h:453
int Int
Definition: aipstype.h:50
casacore::Bool conjBeams_p
Definition: AWProjectFT.h:512
defines interface for the Fourier Transform Machine
Definition: FTMachine.h:122
virtual casacore::Bool useWeightImage()
All FTMachines that fill weightimage, need to set this.
AWProjectWBFTNew(casacore::Int nFacets, casacore::Long cachesize, casacore::CountedPtr< CFCache > &cfcache, casacore::CountedPtr< ConvolutionFunction > &cf, casacore::CountedPtr< VisibilityResamplerBase > &visResampler, casacore::Bool applyPointingOffset=true, casacore::Bool doPBCorr=true, casacore::Int tilesize=16, casacore::Float paSteps=5.0, casacore::Float pbLimit=5e-4, casacore::Bool usezero=false, casacore::Bool conjBeams_p=true, casacore::Bool doublePrecGrid=false)
virtual casacore::Bool doublePrecGrid()
return whether the ftmachine is using a double precision grid
virtual void setDryRun(casacore::Bool val)
long Long
Definition: aipstype.h:52
Referenced counted pointer for constant data.
Definition: VisModelData.h:42
AWProjectWBFTNew(const casacore::RecordInterface &stateRec)
Construct from a casacore::Record containing the AWProjectWBFT state.
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
float Float
Definition: aipstype.h:54
FTMachine * cloneFTM()
clone copy should make it pure virtual forcing every ftm to have a cloner
void ftWeightImage(casacore::Lattice< casacore::Complex > &wtImage, const casacore::Matrix< casacore::Float > &sumWt, const casacore::Bool &doFFTNorm)
const Double e
e and functions thereof:
casacore::Int tilesize
Definition: AWProjectFT.h:454
virtual casacore::String name() const
Copy constructor AWProjectWBFTNew(const AWProjectWBFTNew &amp;other):AWProjectWBFT() {operator=(other);}...
String: the storage and methods of handling collections of characters.
Definition: String.h:223
casacore::Bool isDryRun
Definition: FTMachine.h:368
Abstract base class for Record classes.