casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SingleDishBeamUtil.h
Go to the documentation of this file.
1 //# --------------------------------------------------------------------
2 //# SingleDishBeamUtil.h: this defines utility functions to caluculate
3 //# single dish beam of image
4 //# --------------------------------------------------------------------
5 //# Copyright (C) 2015
6 //# National Astronomical Observatory of Japan
7 //#
8 //# This library is free software; you can redistribute it and/or modify it
9 //# under the terms of the GNU Library General Public License as published by
10 //# the Free Software Foundation; either version 2 of the License, or (at your
11 //# option) any later version.
12 //#
13 //# This library is distributed in the hope that it will be useful, but WITHOUT
14 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
16 //# License for more details.
17 //#
18 //# You should have received a copy of the GNU Library General Public License
19 //# along with this library; if not, write to the Free Software Foundation,
20 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
21 //#
22 //# Correspondence concerning AIPS++ should be addressed as follows:
23 //# Internet email: aips2-request@nrao.edu.
24 //# Postal address: AIPS++ Project Office
25 //# National Radio Astronomy Observatory
26 //# 520 Edgemont Road
27 //# Charlottesville, VA 22903-2475 USA
28 //#
29 //# $Id$
30 #ifndef SINGLEDISH_BEAM_UTIL_H
31 #define SINGLEDISH_BEAM_UTIL_H
32 
33 #include <casacore/casa/aips.h>
40 
41 namespace casa {
42 
44 {
45  public:
47  const casacore::String &referenceFrame,
48  const casacore::String &movingSource,
49  const casacore::String &pointingColumn,
50  const casacore::String &antenna);
51  /*
52  * Return pointing sampling of map
53  */
56  casacore::Quantity &positionAngle);
57  private:
58  // get pointing direction of rows in MS.
59  // out put is a column major Matrix of PointingList in radian
60  // (column=0: longitude, column=1: latitude)
61  // Longitude is reorganized to in -pi~+pi range, if map area corsses 2pi.
70 
71 };
72 
73 } //# NAMESPACE CASA - END
74 
75 #endif
SingleDishBeamUtil(const casacore::MeasurementSet &ms, const casacore::String &referenceFrame, const casacore::String &movingSource, const casacore::String &pointingColumn, const casacore::String &antenna)
const casacore::String antSel_
casacore::CountedPtr< casacore::MeasurementSet > ms_
defines physical units
Definition: Unit.h:189
const casacore::String pointingColumn_
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
Quantities (i.e. dimensioned values)
Definition: QuantumHolder.h:44
casacore::Bool getMapPointings(casacore::Matrix< casacore::Double > &pointingList)
get pointing direction of rows in MS.
A Table intended to hold astronomical data (a set of Measurements).
String: the storage and methods of handling collections of characters.
Definition: String.h:223
const casacore::String referenceFrame_
casacore::Bool getPointingSamplingRaster(casacore::Quantum< casacore::Vector< casacore::Double >> &sampling, casacore::Quantity &positionAngle)
const casacore::String movingSource_