casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PhaseGrad.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //# PhaseGrad.h: Definition of the PhaseGrad class
3 //# Copyright (C) 1997,1998,1999,2000,2001,2002,2003
4 //# Associated Universities, Inc. Washington DC, USA.
5 //#
6 //# This library is free software; you can redistribute it and/or modify it
7 //# under the terms of the GNU Library General Public License as published by
8 //# the Free Software Foundation; either version 2 of the License, or (at your
9 //# option) any later version.
10 //#
11 //# This library is distributed in the hope that it will be useful, but WITHOUT
12 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
14 //# License for more details.
15 //#
16 //# You should have received a copy of the GNU Library General Public License
17 //# along with this library; if not, write to the Free Software Foundation,
18 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
19 //#
20 //# Correspondence concerning AIPS++ should be addressed as follows:
21 //# Internet email: aips2-request@nrao.edu.
22 //# Postal address: AIPS++ Project Office
23 //# National Radio Astronomy Observatory
24 //# 520 Edgemont Road
25 //# Charlottesville, VA 22903-2475 USA
26 //#
27 //# $Id$
28 //
29 #ifndef SYNTHESIS_TRANSFORM2_PHASEGRAD_H
30 #define SYNTHESIS_TRANSFORM2_PHASEGRAD_H
31 
32 #include <casa/Arrays/Matrix.h>
33 #include <casa/Arrays/Vector.h>
34 #include <msvis/MSVis/VisBuffer2.h>
36 
37 // #include <coordinates/Coordinates/DirectionCoordinate.h>
38 // #include <images/Images/ImageInterface.h>
39 // #include <images/Images/TempImage.h>
40 // #include <msvis/MSVis/VisBuffer2.h>
41 // #include <synthesis/MeasurementComponents/SolvableVisCal.h>
42 // class SolvableVisJones;
43 
44 namespace casa { //# NAMESPACE CASA - BEGIN
45  namespace refim{
46  //
47  //-------------------------------------------------------------------------------------------
48  //
49  class PhaseGrad
50  {
51  public:
53  {};
54 
55  ~PhaseGrad() {};
56 
57  PhaseGrad& operator=(const PhaseGrad& other);
58 
61  bool needsNewPhaseGrad(const casacore::Vector<casacore::Vector<double> >& pointingOffset,
62  const vi::VisBuffer2& vb,
63  const int& row);
64  // void getPhaseGrad(casacore::Matrix<casacore::Complex>& fullPhaseGrad) {fullPhaseGrad = antenna_phaseGrad_p + sky_phaseGrad_p;}
65 
66  bool ComputeFieldPointingGrad(const casacore::Vector<double>& pointingOffset,
68  const vi::VisBuffer2& vb);
71  const vi::VisBuffer2& vb,
72  const int& row);
73  // bool ComputeFieldPointingGrad(const casacore::Vector<double>& pointingOffset,
74  // const casacore::Vector<int>&cfShape,
75  // const casacore::Vector<int>& convOrigin,
76  // const double& /*cfRefFreq*/,
77  // const double& /*imRefFreq*/,
78  // const int& spwID, const int& fieldId);
79 
80  // private:
86  };
87  //
88  //-------------------------------------------------------------------------------------------
89  //
90 };
91 };
92 #endif
A 1-D Specialization of the Array class.
CFBuffer * cachedCFBPtr_p
Definition: PhaseGrad.h:84
bool ComputeFieldPointingGrad(const casacore::Vector< double > &pointingOffset, const casacore::CountedPtr< CFBuffer > &cfb, const vi::VisBuffer2 &vb)
void getPhaseGrad(casacore::Matrix&lt;casacore::Complex&gt;&amp; fullPhaseGrad) {fullPhaseGrad = antenna_phaseG...
casacore::Vector< casacore::RigidVector< double, 2 > > cached_FieldOffset_p
Definition: PhaseGrad.h:83
Referenced counted pointer for constant data.
Definition: VisModelData.h:42
PhaseGrad & operator=(const PhaseGrad &other)
casacore::Vector< int > maxCFShape_p
Definition: PhaseGrad.h:85
VisBuffer2s encapsulate one chunk of visibility data for processing.
Definition: VisBuffer2.h:141
const casacore::Matrix< casacore::Complex > & getAntennaPointingGrad()
Definition: PhaseGrad.h:60
const casacore::Matrix< casacore::Complex > & getFieldPointingGrad()
Definition: PhaseGrad.h:59
*casacore::Matrix< casacore::Complex > field_phaseGrad_p
Definition: PhaseGrad.h:81
bool needsNewPhaseGrad(const casacore::Vector< casacore::Vector< double > > &pointingOffset, const vi::VisBuffer2 &vb, const int &row)
casacore::Matrix< casacore::Complex > antenna_phaseGrad_p
Definition: PhaseGrad.h:82