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