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_AWPROJECTWBFTNEW_H
30 #define SYNTHESIS_AWPROJECTWBFTNEW_H
31 #define DELTAPA 1.0
32 #define MAGICPAVALUE -999.0
33 
34 
36 
37 namespace casa { //# NAMESPACE CASA - BEGIN
38 
40 
41  public:
46  casacore::Bool applyPointingOffset=true,
47  casacore::Bool doPBCorr=true,
49  casacore::Float paSteps=5.0,
50  casacore::Float pbLimit=5e-4,
51  casacore::Bool usezero=false,
54  AWProjectWBFT(nFacets, cachesize, cfcache, cf, visResampler, applyPointingOffset,
55  doPBCorr, tilesize, paSteps, pbLimit, usezero, conjBeams_p, doublePrecGrid){}
56 
57  // Construct from a casacore::Record containing the AWProjectWBFT state
59 
60  // Copy constructor
61  //AWProjectWBFTNew(const AWProjectWBFTNew &other):AWProjectWBFT() {operator=(other);};
62 
63  virtual casacore::String name() const {return "AWProjectWBFTNew";};
64 
66 
68 
69  virtual casacore::Bool useWeightImage(){return true;};
70  virtual void setDryRun(casacore::Bool val)
71  {
72  isDryRun=val;// cerr << "###### " << isDryRun << endl;
73  };
74 
75  protected:
78  const casacore::Bool& doFFTNorm);
79 
80  private:
81 
82  };
83 } //# NAMESPACE CASA - END
84 
85 #endif
int Int
Definition: aipstype.h:50
casacore::Bool conjBeams_p
Definition: AWProjectFT.h:497
casacore::Int tilesize
Definition: AWProjectFT.h:439
FTMachine * cloneFTM()
clone copy the default cloner clones via a Record copy
long Long
Definition: aipstype.h:52
virtual void setDryRun(casacore::Bool val)
Referenced counted pointer for constant data.
Definition: VisModelData.h:42
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
float Float
Definition: aipstype.h:54
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)
AWProjectWBFTNew(const casacore::RecordInterface &stateRec)
Construct from a casacore::Record containing the AWProjectWBFT state.
virtual casacore::String name() const
Copy constructor AWProjectWBFTNew(const AWProjectWBFTNew &amp;other):AWProjectWBFT() {operator=(other);}...
const Double e
e and functions thereof:
String: the storage and methods of handling collections of characters.
Definition: String.h:223
virtual casacore::Bool useWeightImage()
All FTMachines that fill weightimage, need to set this.
virtual casacore::Bool doublePrecGrid()
return whether the ftmachine is using a double precision grid
Abstract base class for Record classes.
casacore::Bool isDryRun
Definition: FTMachine.h:398
casacore::Long cachesize
Sizes.
Definition: AWProjectFT.h:438
void ftWeightImage(casacore::Lattice< casacore::Complex > &wtImage, const casacore::Matrix< casacore::Float > &sumWt, const casacore::Bool &doFFTNorm)
defines interface for the Fourier Transform Machine
Definition: FTMachine.h:120