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_TRANSFORM2_MOSAICFTNEW_H
30 #define SYNTHESIS_TRANSFORM2_MOSAICFTNEW_H
31 
33 
34 namespace casa { //# NAMESPACE CASA - BEGIN
35 
36 namespace refim{
37 /*
38  An copy MosaicFT except
39  Looks like it is just to get differentlently normalized images i.e (image*nx*ny)
40  which implies somewhere some code is just be using FFT in forward (the toFrequency direction)
41  when it should be the reverse (or vice-versa)
42 */
43 
44 class MosaicFTNew : public MosaicFT {
45 public:
46 
47  // Constructor: cachesize is the size of the cache in words
48  // (e.g. a few million is a good number), tilesize is the
49  // size of the tile used in gridding (cannot be less than
50  // 12, 16 works in most cases).
51  // <group>
54  casacore::Bool usezero=true, casacore::Bool useDoublePrec=false, casacore::Bool useConjFreqBeam=false, casacore::Bool usePointing=false):
55  MosaicFT(sj,mloc,stokes,cachesize,tilesize,usezero,useDoublePrec, useConjFreqBeam, usePointing){}
56 
57  // Construct from a casacore::Record containing the MosaicFT state
58  MosaicFTNew(const casacore::RecordInterface& stateRec);
59 
61 
62 
63  // </group>
64 
65  // Get the final image: do the Fourier transform and
66  // grid-correct, then optionally normalize by the summed weights
68 
69  // Get the final weights image
71 
72  virtual casacore::String name() const {return "MosaicFTNew";};
73 
74 protected:
75 
76 };
77  } //refim ends
78 } //# NAMESPACE CASA - END
79 
80 #endif
A Measure: position on Earth.
Definition: MPosition.h:79
int Int
Definition: aipstype.h:50
defines interface for the Fourier Transform Machine
Definition: FTMachine.h:122
casacore::Int tilesize
Definition: MosaicFT.h:271
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...
long Long
Definition: aipstype.h:52
MosaicFTNew(SkyJones *sj, casacore::MPosition mloc, casacore::String stokes, casacore::Long cachesize, casacore::Int tilesize=16, casacore::Bool usezero=true, casacore::Bool useDoublePrec=false, casacore::Bool useConjFreqBeam=false, casacore::Bool usePointing=false)
Constructor: cachesize is the size of the cache in words (e.g.
Definition: MosaicFTNew.h:52
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
Sky Jones: Model sky-plane instrumental effects for the SkyEquation.
Definition: SkyJones.h:174
refim::FTMachine * cloneFTM()
clone copy should make it pure virtual forcing every ftm to have a cloner
virtual casacore::String name() const
Return name of this machine.
Definition: MosaicFTNew.h:72
String: the storage and methods of handling collections of characters.
Definition: String.h:223
void getWeightImage(casacore::ImageInterface< casacore::Float > &, casacore::Matrix< casacore::Float > &)
Get the final weights image.
Abstract base class for Record classes.
casacore::Long cachesize
Sizes.
Definition: MosaicFT.h:270