ImageCollapserData.h
Go to the documentation of this file.00001 #ifndef IMAGES_IMAGECOLLAPSERDATA_H
00002 #define IMAGES_IMAGECOLLAPSERDATA_H
00003
00004 #include <casa/typeinfo.h>
00005
00006 #include <map>
00007
00008 namespace casa {
00009
00010 class String;
00011
00012 class ImageCollapserData {
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033 public:
00034
00035 enum AggregateType {
00036
00037 MAX,
00038 MEAN,
00039 MEDIAN,
00040 MIN,
00041 NPTS,
00042 RMS,
00043 STDDEV,
00044 SUM,
00045 VARIANCE,
00046
00047 ZERO,
00048 FLUX,
00049
00050
00051
00052
00053
00054
00055
00056
00057 SQRTSUM,
00058
00059 SQRTSUM_NPIX,
00060
00061
00062 SQRTSUM_NPIX_BEAM,
00063 UNKNOWN
00064 };
00065
00066
00067 ~ImageCollapserData() {}
00068
00069 static AggregateType aggregateType(const String& aggString);
00070
00071 static const std::map<uInt, String>* funcNameMap();
00072 static const std::map<uInt, String>* minMatchMap();
00073
00074 private:
00075
00076 static std::map<uInt, String> *_funcNameMap, *_minMatchMap;
00077
00078
00079 ImageCollapserData();
00080
00081 };
00082 }
00083
00084 #endif