casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
DBeamSkyJones.h
Go to the documentation of this file.
00001 //# DBeamSkyJones.h: Definitions of interface for DBeamSkyJones 
00002 //# Copyright (C) 1996,1997,1998,2000
00003 //# Associated Universities, Inc. Washington DC, USA.
00004 //#
00005 //# This library is free software; you can redistribute it and/or modify it
00006 //# under the terms of the GNU Library General Public License as published by
00007 //# the Free Software Foundation; either version 2 of the License, or (at your
00008 //# option) any later version.
00009 //#
00010 //# This library is distributed in the hope that it will be useful, but WITHOUT
00011 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00012 //# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00013 //# License for more details.
00014 //#
00015 //# You should have received a copy of the GNU Library General Public License
00016 //# along with this library; if not, write to the Free Software Foundation,
00017 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
00018 //#
00019 //# Correspondence concerning AIPS++ should be adressed as follows:
00020 //#        Internet email: aips2-request@nrao.edu.
00021 //#        Postal address: AIPS++ Project Office
00022 //#                        National Radio Astronomy Observatory
00023 //#                        520 Edgemont Road
00024 //#                        Charlottesville, VA 22903-2475 USA
00025 //#
00026 //#
00027 //# $Id$
00028 
00029 #ifndef SYNTHESIS_DBEAMSKYJONES_H
00030 #define SYNTHESIS_DBEAMSKYJONES_H
00031 
00032 #include <casa/aips.h>
00033 #include <measures/Measures/Stokes.h>
00034 #include <synthesis/TransformMachines/BeamSkyJones.h>
00035 
00036 namespace casa { //# NAMESPACE CASA - BEGIN
00037 
00038 //#forward
00039 class SkyModel;
00040 
00041 //# Need forward declaration for Solve in the Jones Matrices
00042 class SkyEquation;
00043 
00044 // <summary> Model the polarization leakage in the Sky Jones Matrices </summary>
00045 
00046 // <use visibility=export>
00047 
00048 // <reviewed reviewer="" date="" tests="" demos="">
00049 
00050 // <prerequisite>
00051 // <li> <linkto class="SkyEquation">SkyEquation</linkto> class
00052 // <li> <linkto class="BeamSkyJones">BeamSkyJones</linkto> class
00053 // </prerequisite>
00054 //
00055 // <etymology>
00056 // DBeam = sky-position-dependent polarization leakage, 
00057 // SkyJones = Sky-based Jones matrices.
00058 // This class only deals with the off-diagonal elements of the
00059 // primary beam jones matrices.
00060 // </etymology>
00061 //
00062 // <synopsis> 
00063 // </synopsis> 
00064 //
00065 // <example>
00066 // <srcblock>
00067 // </srcblock>
00068 // </example>
00069 //
00070 //
00071 // <motivation>
00072 // To deal with the polarization leakage beam (mainly Stokes I into
00073 // polarization visibilities).  The main primary beam response, ie,
00074 // the diagonal Jones matrix elements, are handled by VPSkyJones.
00075 // The motivation for this split is differing storage requirements
00076 // for the unerlying PBMath types, and different methods available
00077 // to VPSkyJones and DBeamSkyJones.
00078 // </motivation>
00079 //
00080 // <todo asof="98/09/01">
00081 // <li> Waiting for PBMath2D, which requires an HGEOM-like utility.
00082 //      We can do nothing here until this is in place.
00083 // <li> Need to check the history that PB has been applied before applying DB
00084 //      (or at least provide for some sort of checking.)
00085 // <li> Details of APPLY procedure may need to be modified
00086 // </todo>
00087 
00088 class DBeamSkyJones : public BeamSkyJones {
00089 
00090 public:
00091 
00092   DBeamSkyJones(MeasurementSet& ms,          
00093                 Bool makeDefaultPBsFromMS = True,
00094                 const Quantity &parallacticAngleIncrement = Quantity(5.0, "deg"),
00095                 BeamSquint::SquintType doSquint = BeamSquint::NONE);
00096 
00097   // Note that DBeamSkyJones uses BeamSkyJones' "apply" methods
00098 
00099   // return SkyJones type
00100   Type type() {return SkyJones::D;};
00101 
00102   // Is this solveable?
00103   virtual Bool isSolveable() {return False;};
00104 
00105 protected:
00106 
00107 private:    
00108 
00109 };
00110  
00111 
00112 } //# NAMESPACE CASA - END
00113 
00114 #endif
00115