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_WTERM_H
00030 #define SYNTHESIS_WTERM_H
00031
00032
00033 #include <casa/Arrays/Vector.h>
00034 #include <msvis/MSVis/VisBuffer.h>
00035 #include <images/Images/ImageInterface.h>
00036 #include <images/Images/PagedImage.h>
00037 #include <images/Images/TempImage.h>
00038 #include <synthesis/TransformMachines/CFTerms.h>
00039
00040
00041 namespace casa{
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054 class WTerm: public CFTerms
00055 {
00056 public:
00057 WTerm () : CFTerms() {};
00058 ~WTerm () {};
00059
00060 virtual void applySky(Matrix<Complex>& screen,
00061 const Int wPixel,
00062 const Vector<Double>& sampling,
00063 const Double wScale,
00064 const Int inner);
00065 virtual void applySky(Matrix<Complex>& screen,
00066 const Vector<Double>& sampling,
00067 const Double wValue,
00068 const Int inner);
00069 int getVisParams(const VisBuffer& vb,const CoordinateSystem& skyCoord=CoordinateSystem())
00070 {(void)vb;(void)skyCoord;return 0;};
00071 void setPolMap(const Vector<Int>& polMap) {(void)polMap;};
00072 virtual Float getSupportThreshold() {return 1e-3;};
00073
00074
00075 virtual void normalizeImage(Lattice<Complex>& skyImage,
00076 const Matrix<Float>& weights)
00077 {(void)skyImage;(void)weights;};
00078 virtual String name() {return String("W Term");};
00079
00080
00081
00082
00083 void applySky(ImageInterface<Float>&,
00084 const VisBuffer&,
00085 const Bool,
00086 const Int&,
00087 const Int&,
00088 const Double )
00089 {};
00090 void applySky(ImageInterface<Complex>&,
00091 const VisBuffer&,
00092 const Bool,
00093 const Int&,
00094 const Int&,
00095 const Double )
00096 {};
00097 Vector<Int> vbRow2CFKeyMap(const VisBuffer& vb, Int& nUnique)
00098 {(void)vb;(void)nUnique;return Vector<Int>();};
00099 Int makePBPolnCoords(const VisBuffer& vb,
00100 const Int& convSize,
00101 const Int& convSampling,
00102 const CoordinateSystem& skyCoord,
00103 const Int& skyNx, const Int& skyNy,
00104 CoordinateSystem& feedCoord)
00105 {
00106 (void)vb;(void)convSize;(void)convSampling;(void)skyCoord;(void)skyNx;(void)skyNy;(void)feedCoord;
00107 return 0;
00108 };
00109
00110 Bool rotationallySymmetric() {return True;};
00111
00112
00113 Int getConvSize() {return 0;};
00114 Int getOversampling() {return 4;};
00115 Float getConvWeightSizeFactor() {return 1.0;};
00116 };
00117
00118 };
00119
00120 #endif