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 public:
75 // Construct from an existing MeasurementSet
77
78 // Null destructor
80
81 // Retrieve a list of all rest frequencies used for a given
82 // spectral window id and field id.
83 // Note that the output vector combines information for multiple spectral lines
84 // and (unlikely) multiple source table entries.
85 // If the doppler sub table doesn't exist, the information is
86 // retrieved from directly from the source sub table.
87 Bool dopplerInfo(Vector<Double>& restFrequency, Int spwId, Int fieldId);
88
89 private:
90 // Prohibit null constructor, copy constructor and assignment for now
94
95 // Underlying MeasurementSet
97};
98
99} // namespace casacore
100
101#endif
~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 &)
For temporary backward namespace compatibility, use casa as alias for casacore.
Definition mainpage.dox:28
int Int
Definition aipstype.h:48
bool Bool
Define the standard types used by Casacore.
Definition aipstype.h:40