casacore
Loading...
Searching...
No Matches
MSDopplerUtil.h
Go to the documentation of this file.
1//# MSDopplerUtil.h: utility class for MS Doppler tracking information
2//# Copyright (C) 2000,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 addressed as follows:
20//# Internet email: casa-feedback@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#ifndef MS_MSDOPPLERUTIL_H
27#define MS_MSDOPPLERUTIL_H
28
29#include <casacore/casa/aips.h>
30#include <casacore/ms/MeasurementSets/MeasurementSet.h>
31
32namespace casacore { //# NAMESPACE CASACORE - BEGIN
33
34// <summary>
35// A utility class for MS Doppler tracking information
36// </summary>
37//
38// <use visibility=export>
39//
40// <reviewed reviewer="" date="yyyy/mm/dd" tests="" demos="">
41// </reviewed>
42
43// <prerequisite>
44// <li> MeasurementSet
45// <li> MSDoppler
46// </prerequisite>
47//
48// <etymology>
49// From "MeasurementSet", "Doppler" and "utility".
50// </etymology>
51//
52// <synopsis>
53// This class provides utilities for handling Doppler tracking
54// information in a MeasurementSet.
55// </synopsis>
56//
57// <example>
58// </example>
59//
60// <motivation>
61// Collect all utilities for handling MS Doppler tracking information.
62// </motivation>
63//
64// <thrown>
65// <li>
66// <li>
67// </thrown>
68//
69// <todo asof="2000/09/01">
70// <li> averaging over other indices.
71// </todo>
72
74{
75public:
76 // Construct from an existing MeasurementSet
78
79 // Null destructor
81
82 // Retrieve a list of all rest frequencies used for a given
83 // spectral window id and field id.
84 // Note that the output vector combines information for multiple spectral lines
85 // and (unlikely) multiple source table entries.
86 // If the doppler sub table doesn't exist, the information is
87 // retrieved from directly from the source sub table.
88 Bool dopplerInfo (Vector<Double>& restFrequency, Int spwId, Int fieldId);
89
90private:
91 // Prohibit null constructor, copy constructor and assignment for now
95
96 // Underlying MeasurementSet
98};
99
100
101} //# NAMESPACE CASACORE - END
102
103#endif
104
105
~MSDopplerUtil()
Null destructor.
MSDopplerUtil(const MSDopplerUtil &)
MSDopplerUtil(const MeasurementSet &ms)
Construct from an existing MeasurementSet.
MeasurementSet ms_p
Underlying MeasurementSet.
MSDopplerUtil()
Prohibit null constructor, copy constructor and assignment for now.
Bool dopplerInfo(Vector< Double > &restFrequency, Int spwId, Int fieldId)
Retrieve a list of all rest frequencies used for a given spectral window id and field id.
MSDopplerUtil & operator=(const MSDopplerUtil &)
this file contains all the compiler specific defines
Definition mainpage.dox:28
int Int
Definition aipstype.h:48
bool Bool
Define the standard types used by Casacore.
Definition aipstype.h:40