casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ImageMaxFitter.h
Go to the documentation of this file.
1 #ifndef IMAGEANALYSIS_IMAGEMAXFITTER_H
2 #define IMAGEANALYSIS_IMAGEMAXFITTER_H
3 
4 #include <casa/namespace.h>
5 
6 namespace casa {
7 
8 template <class T> class ImageMaxFitter: public ImageTask<T> {
9  // <summary>
10  // Top level interface source max fitting
11  // </summary>
12 
13  // <reviewed reviewer="" date="" tests="" demos="">
14  // </reviewed>
15 
16  // <prerequisite>
17  // </prerequisite>
18 
19  // <etymology>
20  // </etymology>
21 
22  // <synopsis>
23  // </synopsis>
24 
25 public:
26 
27  ImageMaxFitter(SPCIIT image, const casacore::Record *const &region);
28 
29  // destructor
31 
32  casacore::String getClass() const { const static casacore::String s = "ImageMaxFitter"; return s; }
33 
34  casacore::Record fit(casacore::Bool point, casacore::Int width=5, casacore::Bool negfind=false, casacore::Bool list=true) const;
35 
36 protected:
37 
40  }
41 
42  inline std::vector<casacore::Coordinate::Type> _getNecessaryCoordinates() const {
43  return std::vector<casacore::Coordinate::Type>(1, casacore::Coordinate::DIRECTION);
44  }
45 
46  inline casacore::Bool _supportsMultipleBeams() const {return true;}
47 
48 
49 };
50 }
51 
52 #ifndef AIPS_NO_TEMPLATE_SRC
53 #include <imageanalysis/ImageAnalysis/ImageMaxFitter.tcc>
54 #endif
55 
56 #endif
casacore::Bool _supportsMultipleBeams() const
does this task support images with multiple beams? false means it never does.
int Int
Definition: aipstype.h:50
std::vector< casacore::Coordinate::Type > _getNecessaryCoordinates() const
Represents the minimum set of coordinates necessary for the task to function.
casacore::String getClass() const
A hierarchical collection of named fields of various types.
Definition: Record.h:180
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
#define SPCIIT
Definition: ImageTypedefs.h:35
~ImageMaxFitter()
destructor
CasacRegionManager::StokesControl _getStokesControl() const
casacore::Record fit(casacore::Bool point, casacore::Int width=5, casacore::Bool negfind=false, casacore::Bool list=true) const
String: the storage and methods of handling collections of characters.
Definition: String.h:223
ImageMaxFitter(SPCIIT image, const casacore::Record *const &region)
Top level interface source max fitting.