casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ImageDecomposerTask.h
Go to the documentation of this file.
1 #ifndef IMAGEANALYSIS_IMAGEDECOMPOSERTASK_H
2 #define IMAGEANALYSIS_IMAGEDECOMPOSERTASK_H
3 
5 
6 #include <casa/namespace.h>
7 
8 namespace casa {
9 
10 template <class T> class ImageDecomposerTask : public ImageTask<T> {
11  // <summary>
12  // Top level interface for decomposing of images.
13  // </summary>
14 
15  // <reviewed reviewer="" date="" tests="" demos="">
16  // </reviewed>
17 
18  // <prerequisite>
19  // </prerequisite>
20 
21  // <etymology>
22  // </etymology>
23 
24  // <synopsis>
25  // </synopsis>
26 
27 public:
28 
29  ImageDecomposerTask() = delete;
30 
32  SPCIIT image, const casacore::Record *const region, const casacore::String& mask
33  );
34 
35  // destructor
37 
39 
40  casacore::String getClass() const { const static casacore::String s = "ImageDecomposerTask"; return s; }
41 
42  void setSimple(casacore::Bool b) { _simple = b; }
43 
44  void setDeblendOptions(casacore::Double threshold, casacore::Int nContour, casacore::Int minRange, casacore::Int nAxis);
45 
46  void setFit(casacore::Bool b) { _fit = b; }
47 
48  void setFitOptions(casacore::Double maxrms, casacore::Int maxRetry, casacore::Int maxIter, casacore::Double convCriteria);
49 
50 protected:
51 
54  }
55 
56  inline std::vector<casacore::Coordinate::Type> _getNecessaryCoordinates() const {
57  return std::vector<casacore::Coordinate::Type>();
58  }
59 
60  inline casacore::Bool _supportsMultipleBeams() const {return true;}
61 
62 private:
73 };
74 }
75 
76 #ifndef AIPS_NO_TEMPLATE_SRC
77 #include <imageanalysis/ImageAnalysis/ImageDecomposerTask.tcc>
78 #endif
79 
80 #endif
int Int
Definition: aipstype.h:50
casacore::String getClass() const
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
casacore::Matrix< T > decompose(casacore::Matrix< casacore::Int > &blcs, casacore::Matrix< casacore::Int > &trcs)
std::vector< casacore::Coordinate::Type > _getNecessaryCoordinates() const
Represents the minimum set of coordinates necessary for the task to function.
void setFitOptions(casacore::Double maxrms, casacore::Int maxRetry, casacore::Int maxIter, casacore::Double convCriteria)
A 2-D Specialization of the Array class.
double Double
Definition: aipstype.h:55
ImageDecomposerTask()=delete
Top level interface for decomposing of images.
void setDeblendOptions(casacore::Double threshold, casacore::Int nContour, casacore::Int minRange, casacore::Int nAxis)
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
void setFit(casacore::Bool b)
casacore::Bool _supportsMultipleBeams() const
does this task support images with multiple beams? false means it never does.
String: the storage and methods of handling collections of characters.
Definition: String.h:223
CasacRegionManager::StokesControl _getStokesControl() const
void setSimple(casacore::Bool b)