AWConvFuncEPJones.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_AWCONVFUNCEPJONES_H
00030 #define SYNTHESIS_AWCONVFUNCEPJONES_H
00031
00032 #include <synthesis/TransformMachines/AWConvFunc.h>
00033 #include <coordinates/Coordinates/DirectionCoordinate.h>
00034 #include <synthesis/TransformMachines/PSTerm.h>
00035 #include <synthesis/TransformMachines/WTerm.h>
00036 #include <synthesis/TransformMachines/ATerm.h>
00037 #include <images/Images/ImageInterface.h>
00038 #include <images/Images/TempImage.h>
00039 #include <casa/Logging/LogIO.h>
00040 #include <casa/Logging/LogSink.h>
00041 #include <casa/Logging/LogOrigin.h>
00042
00043 namespace casa {
00044
00045
00046
00047 class AWConvFuncEPJones : public AWConvFunc
00048 {
00049 public:
00050 AWConvFuncEPJones(const CountedPtr<ATerm> ATerm,
00051 const CountedPtr<PSTerm> psTerm,
00052 const CountedPtr<WTerm> wTerm,
00053 const Bool wbAWP=False):
00054 AWConvFunc(ATerm,psTerm,wTerm,wbAWP), imageDC_p(),imageObsInfo_p(),
00055 nx_p(-1), ny_p(-1),nchan_p(-1),npol_p(-1),csys_p(),dc_p(),pointToPix_p(),
00056 pointFrame_p(),timeMType_p(),timeUnit_p(),directionIndex_p(-1),
00057 direction1_p(), direction2_p()
00058 {};
00059 ~AWConvFuncEPJones() {};
00060 AWConvFuncEPJones& operator=(const AWConvFuncEPJones& other);
00061
00062
00063 virtual void makeConvFunction(const ImageInterface<Complex>& image,
00064 const VisBuffer& vb,
00065 const Int wConvSize,
00066 const CountedPtr<PolOuterProduct>& pop,
00067 const Float pa,
00068 const Float dpa,
00069 const Vector<Double>& uvScale, const Vector<Double>& uvOffset,
00070 const Matrix<Double>& vbFreqSelection,
00071 CFStore2& cfs,
00072 CFStore2& cfwts,
00073 Bool fillCF=True);
00074 virtual Vector<Double> findPointingOffset(const ImageInterface<Complex>& image,
00075 const VisBuffer& vb);
00076
00077 void toPix(const VisBuffer& vb);
00078 void storeImageParams(const ImageInterface<Complex>& iimage,
00079 const VisBuffer& vb);
00080 private:
00081
00082 DirectionCoordinate imageDC_p;
00083 ObsInfo imageObsInfo_p;
00084 Int nx_p;
00085 Int ny_p;
00086 Int nchan_p;
00087 Int npol_p;
00088 CoordinateSystem csys_p;
00089 DirectionCoordinate dc_p;
00090 MDirection::Convert pointToPix_p;
00091 MeasFrame pointFrame_p;
00092 MEpoch::Types timeMType_p;
00093 Unit timeUnit_p;
00094 Int directionIndex_p;
00095 MDirection direction1_p;
00096 MDirection direction2_p;
00097 };
00098
00099
00100
00101 };
00102 #endif