casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ImageFFTer.h
Go to the documentation of this file.
1 #ifndef IMAGES_IMAGEFFTER_H
2 #define IMAGES_IMAGEFFTER_H
3 
5 
6 #include <casa/namespace.h>
7 
8 namespace casa {
9 
10 template <class T> class ImageFFT;
11 
12 template <class T> class ImageFFTer : public ImageTask<T> {
13  // <summary>
14  // Top level interface which allows FFTing of images.
15  // </summary>
16 
17  // <reviewed reviewer="" date="" tests="" demos="">
18  // </reviewed>
19 
20  // <prerequisite>
21  // </prerequisite>
22 
23  // <etymology>
24  // FFTs image.
25  // </etymology>
26 
27  // <synopsis>
28  // High level interface for FFTing an image.
29  // </synopsis>
30 
31 public:
32 
33  ImageFFTer(
34  const SPCIIT image, const casacore::Record *const region,
35  const casacore::String& maskInp,
37  );
38 
39  // destructor
41 
42  void fft() const;
43 
44  void setReal(const casacore::String& name) { _real = name; }
45  void setImag(const casacore::String& name) { _imag = name; }
46  void setAmp(const casacore::String& name) { _amp = name; }
49 
51  const static casacore::String s = "ImageFFTer";
52  return s;
53  }
54 
55 protected:
58  }
59 
60  std::vector<casacore::Coordinate::Type> _getNecessaryCoordinates() const {
61  return std::vector<casacore::Coordinate::Type>();
62  }
63 
64 private:
67 
68  // disallow default constructor
69  ImageFFTer();
70 
72  const casacore::SubImage<T>& subImage, const ImageFFT<T>& fft
73  ) const;
74 
75  template <class U> void _createImage(
76  SPIIU& out, const casacore::String& name,
77  const casacore::SubImage<T>& subimage
78  ) const;
79 
80  static void _checkExists(const casacore::String& name);
81 };
82 }
83 
84 #ifndef AIPS_NO_TEMPLATE_SRC
85 #include <imageanalysis/ImageAnalysis/ImageFFTer.tcc>
86 #endif
87 
88 #endif
ImageFFTer()
disallow default constructor
casacore::String _phase
Definition: ImageFFTer.h:66
void setAmp(const casacore::String &name)
Definition: ImageFFTer.h:46
void setComplex(const casacore::String &name)
Definition: ImageFFTer.h:48
std::vector< casacore::Coordinate::Type > _getNecessaryCoordinates() const
Represents the minimum set of coordinates necessary for the task to function.
Definition: ImageFFTer.h:60
void fft() const
static void _checkExists(const casacore::String &name)
ABSTRACT CLASSES Abstract class for colors Any implementation of color should be able to provide a hexadecimal form of the if a human readable name(i.e."black").In many places throughout the plotter
void _createOutputImages(const casacore::SubImage< T > &subImage, const ImageFFT< T > &fft) const
casacore::String _amp
Definition: ImageFFTer.h:66
~ImageFFTer()
destructor
Definition: ImageFFTer.h:40
A hierarchical collection of named fields of various types.
Definition: Record.h:180
FFT an image.
Definition: ImageFFT.h:134
casacore::String _real
Definition: ImageFFTer.h:66
casacore::String getClass() const
Definition: ImageFFTer.h:50
A (masked) subset of an ImageInterface object.
#define SPCIIT
Definition: ImageTypedefs.h:35
void setPhase(const casacore::String &name)
Definition: ImageFFTer.h:47
void setReal(const casacore::String &name)
Definition: ImageFFTer.h:44
CasacRegionManager::StokesControl _getStokesControl() const
Definition: ImageFFTer.h:56
casacore::Vector< casacore::uInt > _axes
Definition: ImageFFTer.h:65
String: the storage and methods of handling collections of characters.
Definition: String.h:223
#define SPIIU
Definition: ImageTypedefs.h:37
void _createImage(SPIIU &out, const casacore::String &name, const casacore::SubImage< T > &subimage) const
casacore::String _complex
Definition: ImageFFTer.h:66
casacore::String _imag
Definition: ImageFFTer.h:66
void setImag(const casacore::String &name)
Definition: ImageFFTer.h:45