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_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 { //# NAMESPACE CASA - BEGIN
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     // MosaicFT related
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     // MosaicFT related
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
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1