casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MosaicFTNew.h
Go to the documentation of this file.
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: 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_MOSAICFTNEW_H
30 #define SYNTHESIS_MOSAICFTNEW_H
31 
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>
58  casacore::Bool usezero=true, casacore::Bool useDoublePrec=false):
59  MosaicFT(sj,mloc,stokes,cachesize,tilesize,usezero,useDoublePrec){};
61  MosaicFT(rec){};
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
70 
71  // Get the final weights image
73 
74  virtual casacore::String name() const {return "MosaicFTNew";};
75 
76 protected:
77 
78 };
79 
80 } //# NAMESPACE CASA - END
81 
82 #endif
A Measure: position on Earth.
Definition: MPosition.h:79
int Int
Definition: aipstype.h:50
void getWeightImage(casacore::ImageInterface< casacore::Float > &, casacore::Matrix< casacore::Float > &)
Get the final weights image.
long Long
Definition: aipstype.h:52
Converts UVW coordinates between coordinate systems.
Definition: UVWMachine.h:160
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
MosaicFTNew(const casacore::RecordInterface &rec)
Definition: MosaicFTNew.h:60
casacore::ImageInterface< casacore::Complex > & getImage(casacore::Matrix< casacore::Float > &, casacore::Bool normalize=true)
Get the final image: do the Fourier transform and grid-correct, then optionally normalize by the summ...
virtual casacore::String name() const
Return name of this machine.
Definition: MosaicFTNew.h:74
FTMachine * cloneFTM()
clone copy the default cloner clones via a Record copy
Sky Jones: Model sky-plane instrumental effects for the SkyEquation.
Definition: SkyJones.h:172
String: the storage and methods of handling collections of characters.
Definition: String.h:223
casacore::Int tilesize
Definition: MosaicFT.h:271
Abstract base class for Record classes.
MosaicFTNew(SkyJones *sj, casacore::MPosition mloc, casacore::String stokes, casacore::Long cachesize, casacore::Int tilesize=16, casacore::Bool usezero=true, casacore::Bool useDoublePrec=false)
Constructor: cachesize is the size of the cache in words (e.g.
Definition: MosaicFTNew.h:56
casacore::Long cachesize
Sizes.
Definition: MosaicFT.h:270
defines interface for the Fourier Transform Machine
Definition: FTMachine.h:120
#define casacore
&lt;X11/Intrinsic.h&gt; #defines true, false, casacore::Bool, and String.
Definition: X11Intrinsic.h:42