casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SDPosInterpolator.h
Go to the documentation of this file.
1 //# SDPosInterpolator.h: Definition for SDPosInterpolator
2 //# Copyright (C) 1996,1997,1998,1999,2000,2001,2002,2003
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_SDPOSINTERPOLATOR_H
30 #define SYNTHESIS_SDPOSINTERPOLATOR_H
31 
32 #include <casa/Arrays/Vector.h>
33 #include <casa/BasicSL/Constants.h>
34 #include <casa/Quanta/MVAngle.h>
35 #include <casa/Quanta/MVTime.h>
36 #include <casa/Quanta/UnitMap.h>
37 #include <casa/Quanta/UnitVal.h>
41 #include <msvis/MSVis/VisBuffer.h>
42 #include <msvis/MSVis/VisBuffer2.h>
44 
45 namespace casa { //# NAMESPACE CASA - BEGIN
46 
48 public:
49  SDPosInterpolator(const VisBuffer& vb,
50  const casacore::String& pointingDirCol_p);
52  const casacore::String& pointingDirCol_p);
58  const casacore::Double& time,
59  const casacore::Int& index,
60  const casacore::Int& antid);
63 private:
69  void setup(const VisBuffer& vb,
70  const casacore::String& pointingDirCol_p);
71  void setup(const vi::VisBuffer2& vb,
72  const casacore::String& pointingDirCol_p);
78 };
79 
80 } //# NAMESPACE CASA - END
81 
82 #endif
SDPosInterpolator(const VisBuffer &vb, const casacore::String &pointingDirCol_p)
void calcSplineCoeff(const casacore::Vector< casacore::Double > &time, const casacore::Vector< casacore::Vector< casacore::Double > > &dir, casacore::Vector< casacore::Vector< casacore::Vector< casacore::Double > > > &coeff)
A Measure: astronomical direction.
Definition: MDirection.h:174
A 1-D Specialization of the Array class.
int Int
Definition: aipstype.h:50
casacore::Vector< casacore::Vector< casacore::Vector< casacore::Double > > > dirPointing
void setup(const VisBuffer &vb, const casacore::String &pointingDirCol_p)
ABSTRACT TOOL CLASSES A PlotTool is a higher level event handler for a PlotCanvas The idea is to take common tasks which may require multiple events and put them in one place PlotTools also provide additional functionality in that they can be active and blocking non blocking The PlotCanvas will only send events to active and will not send events to later tools or event handlers if the latest tool was blocking In this way a single tool can be used to handle ALL user interaction via the GUI at one time
Definition: PlotTool.h:43
casacore::Vector< casacore::Vector< casacore::Vector< casacore::Vector< casacore::Double > > > > splineCoeff
casacore::Vector< casacore::Double > timeRangeStart
A class to provide easy read-only access to MSPointing columns.
double Double
Definition: aipstype.h:55
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
casacore::Bool inTimeRange(const casacore::Double &time, const casacore::Int &antid)
casacore::Vector< casacore::Double > timeRangeEnd
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
casacore::Vector< casacore::Vector< casacore::Vector< casacore::Vector< casacore::Double > > > > getSplineCoeff()
casacore::Vector< casacore::Bool > doSplineInterpolation
VisBuffers encapsulate one chunk of visibility data for processing.
Definition: VisBuffer.h:153
casacore::Vector< casacore::Vector< casacore::Double > > timePointing
casacore::MDirection interpolateDirectionMeasSpline(const casacore::ROMSPointingColumns &mspc, const casacore::Double &time, const casacore::Int &index, const casacore::Int &antid)