casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EVLAConvFunc.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //# EVLAConvFunc.h: Definition of the EVLAConvFunc 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_EVLACONVFUNC_H
30 #define SYNTHESIS_TRANSFORM2_EVLACONVFUNC_H
31 
37 //#include <synthesis/MeasurementComponents/IlluminationConvFunc.h>
38 //#include <synthesis/MeasurementComponents/PixelatedConvFunc.h>
44 #include <casa/Logging/LogIO.h>
45 #include <casa/Logging/LogSink.h>
46 #include <casa/Logging/LogOrigin.h>
47 
48 namespace casacore{
49 
50  template<class T> class ImageInterface;
51  template<class T> class Matrix;
52 }
53 
54 namespace casa { //# NAMESPACE CASA - BEGIN
55  //class VisBuffer2;
56  namespace refim{
58  {
59  public:
60  // EVLAConvFunc(const casacore::CountedPtr<IlluminationConvFunc> ATerm):
61  // ConvolutionFunction(),bandID_p(-1), polMap_p(), feedStokes_p(), ATerm_p(ATerm)
64  {};
66  EVLAConvFunc& operator=(const EVLAConvFunc& other);
70  const VisBuffer2& vb,
71  const casacore::Int wConvSize,
72  const casacore::Float pa,
73  const casacore::Float dpa,
74  CFStore& cfs,
75  CFStore& cfwts, casacore::Bool fillCF=true);
76  int getVisParams(const VisBuffer2& vb);
78  const casacore::Vector<casacore::Int>& polMap,
79  const casacore::Int& convSize,
80  const casacore::Int& convSampling,
81  const casacore::CoordinateSystem& skyCoord,
82  const casacore::Int& skyNx, const casacore::Int& skyNy,
83  casacore::CoordinateSystem& feedCoord,
85  //
86  // Overloading these functions from ConvolutionFunction class
87  //
88  void setPolMap(const casacore::Vector<casacore::Int>& polMap);
89  void setFeedStokes(const casacore::Vector<casacore::Int>& feedStokes);
90  private:
93 
99  };
100 };
101 };
102 #endif
int Int
Definition: aipstype.h:50
casacore::LogIO logIO_p
Definition: EVLAConvFunc.h:95
void setPolMap(const casacore::Vector< casacore::Int > &polMap)
Overloading these functions from ConvolutionFunction class.
casacore::Float Nant_p
Definition: EVLAConvFunc.h:92
The base class to compute convolution functions for convolutional gridding.
casacore::Vector< casacore::Int > polMap_p
Definition: EVLAConvFunc.h:96
EVLAConvFunc()
EVLAConvFunc(const casacore::CountedPtr&lt;IlluminationConvFunc&gt; ATerm): ConvolutionFunction(),bandID_p(-1), polMap_p(), feedStokes_p(), ATerm_p(ATerm)
Definition: EVLAConvFunc.h:62
casacore::LogIO & logIO()
Definition: EVLAConvFunc.h:94
casacore::Int makePBPolnCoords(const VisBuffer2 &vb, const casacore::Vector< casacore::Int > &polMap, const casacore::Int &convSize, const casacore::Int &convSampling, const casacore::CoordinateSystem &skyCoord, const casacore::Int &skyNx, const casacore::Int &skyNy, casacore::CoordinateSystem &feedCoord, casacore::Vector< casacore::Int > &cfStokes)
A 2-D Specialization of the Array class.
ostream-like interface to creating log messages.
Definition: LogIO.h:167
casacore::CountedPtr< IlluminationConvFunc > ATerm_p
Definition: EVLAConvFunc.h:98
EVLAConvFunc & operator=(const EVLAConvFunc &other)
LatticeExprNode pa(const LatticeExprNode &left, const LatticeExprNode &right)
This function finds 180/pi*atan2(left,right)/2.
Referenced counted pointer for constant data.
Definition: VisModelData.h:42
A base class for astronomical images.
double Double
Definition: aipstype.h:55
void makeConvFunction(const casacore::ImageInterface< casacore::Complex > &image, const VisBuffer2 &vb, const casacore::Int wConvSize, const casacore::Float pa, const casacore::Float dpa, CFStore &cfs, CFStore &cfwts, casacore::Bool fillCF=true)
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
casacore::Float HPBW
Definition: EVLAConvFunc.h:92
casacore::Float sigma
Definition: EVLAConvFunc.h:92
float Float
Definition: aipstype.h:54
casacore::Bool findSupport(casacore::Array< casacore::Complex > &func, casacore::Float &threshold, casacore::Int &origin, casacore::Int &R)
virtual void setFeedStokes(const casacore::Vector&lt;casacore::Int&gt;&amp; feedStokes) = 0; ...
void setFeedStokes(const casacore::Vector< casacore::Int > &feedStokes)
virtual Origin origin() const =0
ABSTRACT METHODS //.
casacore::Int getVLABandID(casacore::Double &freq, casacore::String &telescopeName)
VisBuffer2s encapsulate one chunk of visibility data for processing.
Definition: VisBuffer2.h:141
casacore::Float Diameter_p
Definition: EVLAConvFunc.h:92
casacore::Vector< casacore::Int > feedStokes_p
Definition: EVLAConvFunc.h:97
String: the storage and methods of handling collections of characters.
Definition: String.h:223
int getVisParams(const VisBuffer2 &vb)
Interconvert pixel and world coordinates.
#define casacore
&lt;X11/Intrinsic.h&gt; #defines true, false, casacore::Bool, and String.
Definition: X11Intrinsic.h:42