AWConvFuncEPJones.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //# AWConvFunc.h: Definition of the AWConvFunc class
00003 //# Copyright (C) 1997,1998,1999,2000,2001,2002,2003
00004 //# Associated Universities, Inc. Washington DC, USA.
00005 //#
00006 //# This library is free software; you can redistribute it and/or modify it
00007 //# under the terms of the GNU Library General Public License as published by
00008 //# the Free Software Foundation; either version 2 of the License, or (at your
00009 //# option) any later version.
00010 //#
00011 //# This library is distributed in the hope that it will be useful, but WITHOUT
00012 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00013 //# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00014 //# License for more details.
00015 //#
00016 //# You should have received a copy of the GNU Library General Public License
00017 //# along with this library; if not, write to the Free Software Foundation,
00018 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
00019 //#
00020 //# Correspondence concerning AIPS++ should be addressed as follows:
00021 //#        Internet email: aips2-request@nrao.edu.
00022 //#        Postal address: AIPS++ Project Office
00023 //#                        National Radio Astronomy Observatory
00024 //#                        520 Edgemont Road
00025 //#                        Charlottesville, VA 22903-2475 USA
00026 //#
00027 //# $Id$
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 { //# NAMESPACE CASA - BEGIN
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     // MosaicFT related
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     // MosaicFT related
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
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1