casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VLAIlluminationConvFunc.h
Go to the documentation of this file.
1 //# VLAIlluminationConvFunc.h: Definition for VLAIlluminationConvFunc
2 //# Copyright (C) 1996,1997,1998,1999,2000,2002
3 //# Associated Universities, Inc. Washington DC, USA.
4 //#
5 //# This library is free software; you can redistribute it and/or modify it
6 //# under the terms of the GNU Library General Public License as published by
7 //# the Free Software Foundation; either version 2 of the License, or (at your
8 //# option) any later version.
9 //#
10 //# This library is distributed in the hope that it will be useful, but WITHOUT
11 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13 //# License for more details.
14 //#
15 //# You should have received a copy of the GNU Library General Public License
16 //# along with this library; if not, write to the Free Software Foundation,
17 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
18 //#
19 //# Correspondence concerning AIPS++ should be adressed as follows:
20 //# Internet email: aips2-request@nrao.edu.
21 //# Postal address: AIPS++ Project Office
22 //# National Radio Astronomy Observatory
23 //# 520 Edgemont Road
24 //# Charlottesville, VA 22903-2475 USA
25 //#
26 //#
27 //# $Id$
28 
29 #ifndef SYNTHESIS_TRANSFORM2_VLAILLUMINATIONCONVFUNC_H
30 #define SYNTHESIS_TRANSFORM2_VLAILLUMINATIONCONVFUNC_H
31 
36 #include <casa/Exceptions.h>
37 #include <msvis/MSVis/VisBuffer2.h>
38 namespace casa
39 {
40  namespace refim{
42  {
43  public:
47  {pbRead_p=false;};
50 
51  void load(casacore::String &fileName,casacore::Vector<casacore::Int>& whichStokes,
52  casacore::Float overSampling=20,casacore::Bool putCoords=true);
55  void store(casacore::String &fileName);
56  void loadFromImage(casacore::String &fileName);
60  void storePB(casacore::String& fileName);
61 
63 
67  const VisBuffer2& vb,casacore::Bool doSquint=true);
70  void ftAperture(casacore::String& fileName, casacore::Vector<casacore::Int>& whichStokes,
71  casacore::Float& overSampling, const casacore::CoordinateSystem& coordSys);
72 
73  /*
74  virtual CF_TYPE getValue(casacore::Double *coord,
75  casacore::Double *raoff1, casacore::Double *raoff2,
76  casacore::Double *decoff1, casacore::Double *decoff2,
77  casacore::Double *area,
78  casacore::Int *doGrad,
79  casacore::Complex& weight,
80  casacore::Complex& dweight1,
81  casacore::Complex& dweight2
82  // ,casacore::Double lsigma
83  );
84  */
85  private:
86 
89 
91  // casacore::TempImage<casacore::Float> reAperture_p, imAperture_p;
95  };
96  };
97 };
98 #endif
A Vector of integers, for indexing into Array&lt;T&gt; objects.
Definition: IPosition.h:119
int Int
Definition: aipstype.h:50
void store(casacore::String &fileName)
void regridApeture(casacore::CoordinateSystem &skyCS, casacore::IPosition &skyShape, casacore::TempImage< casacore::Complex > &uvGrid, const VisBuffer2 &vb, casacore::Bool doSquint=true)
void applyPB(casacore::ImageInterface< casacore::Float > &pbImage, const VisBuffer2 &vb)
void fillPB(casacore::ImageInterface< casacore::Complex > &inImg, casacore::ImageInterface< casacore::Float > &outImg)
void loadFromImage(casacore::String &fileName)
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
float Float
Definition: aipstype.h:54
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape...
Definition: ExprNode.h:1944
void storeImg(casacore::String &fileName, casacore::ImageInterface< casacore::Complex > &img)
casacore::CoordinateSystem makeUVCoords(casacore::CoordinateSystem &imageCoordSys, casacore::IPosition &shape)
void load(casacore::String &fileName, casacore::Vector< casacore::Int > &whichStokes, casacore::Float overSampling=20, casacore::Bool putCoords=true)
casacore::Vector< casacore::Double > resolution
casacore::TempImage&lt;casacore::Float&gt; reAperture_p, imAperture_p;
VisBuffer2s encapsulate one chunk of visibility data for processing.
Definition: VisBuffer2.h:141
String: the storage and methods of handling collections of characters.
Definition: String.h:223
void storePB(casacore::String &fileName)
void getIdealConvFunc(casacore::Array< casacore::Complex > &buf)
Interconvert pixel and world coordinates.
casacore::TempImage< casacore::Complex > convFunc_p