WTerm.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef SYNTHESIS_TRANSFORM2_WTERM_H
00030 #define SYNTHESIS_TRANSFORM2_WTERM_H
00031
00032
00033 #include <casa/Arrays/Vector.h>
00034 #include <msvis/MSVis/VisBuffer2.h>
00035 #include <images/Images/ImageInterface.h>
00036 #include <images/Images/PagedImage.h>
00037 #include <images/Images/TempImage.h>
00038 #include <synthesis/TransformMachines2/CFTerms.h>
00039
00040
00041 namespace casa{
00042 namespace refim{
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055 class WTerm: public CFTerms
00056 {
00057 public:
00058 WTerm () : CFTerms() {};
00059 ~WTerm () {};
00060
00061 virtual void applySky(Matrix<Complex>& screen,
00062 const Int wPixel,
00063 const Vector<Double>& sampling,
00064 const Double wScale,
00065 const Int inner);
00066 virtual void applySky(Matrix<Complex>& screen,
00067 const Vector<Double>& sampling,
00068 const Double wValue,
00069 const Int inner);
00070 int getVisParams(const VisBuffer2& vb,const CoordinateSystem& skyCoord=CoordinateSystem())
00071 {(void)vb;(void)skyCoord;return 0;};
00072 void setPolMap(const Vector<Int>& polMap) {(void)polMap;};
00073 virtual Float getSupportThreshold() {return 1e-3;};
00074
00075
00076 virtual void normalizeImage(Lattice<Complex>& skyImage,
00077 const Matrix<Float>& weights)
00078 {(void)skyImage;(void)weights;};
00079 virtual String name() {return String("W Term");};
00080
00081
00082
00083
00084 void applySky(ImageInterface<Float>&,
00085 const VisBuffer2&,
00086 const Bool,
00087 const Int&,
00088 const Int&,
00089 const Double )
00090 {};
00091 void applySky(ImageInterface<Complex>&,
00092 const VisBuffer2&,
00093 const Bool,
00094 const Int&,
00095 const Int&,
00096 const Double )
00097 {};
00098 Vector<Int> vbRow2CFKeyMap(const VisBuffer2& vb, Int& nUnique)
00099 {(void)vb;(void)nUnique;return Vector<Int>();};
00100 Int makePBPolnCoords(const VisBuffer2& vb,
00101 const Int& convSize,
00102 const Int& convSampling,
00103 const CoordinateSystem& skyCoord,
00104 const Int& skyNx, const Int& skyNy,
00105 CoordinateSystem& feedCoord)
00106 {
00107 (void)vb;(void)convSize;(void)convSampling;(void)skyCoord;(void)skyNx;(void)skyNy;(void)feedCoord;
00108 return 0;
00109 };
00110
00111 Bool rotationallySymmetric() {return True;};
00112
00113
00114 Int getConvSize() {return 0;};
00115 Int getOversampling() {return 4;};
00116 void setConvSize(const Int) {};
00117 void setOversampling(const Int) {};
00118 Float getConvWeightSizeFactor() {return 1.0;};
00119 };
00120 };
00121 };
00122
00123 #endif