casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Vi2WeightSpectrumDataProvider.h
Go to the documentation of this file.
1 // -*- mode: c++ -*-
2 //# Copyright (C) 1996,1997,1998,1999,2000,2002,2003,2015
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: 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 // casacore::Data provider for weight spectrum column.
28 //
29 #ifndef MSVIS_STATISTICS_VI2_WEIGHT_SPECTRUM_DATA_PROVIDER_H_
30 #define MSVIS_STATISTICS_VI2_WEIGHT_SPECTRUM_DATA_PROVIDER_H_
31 
32 #include <casacore/casa/aips.h>
37 
38 namespace casa {
39 
41  : public Vi2WeightsCubeDataProvider<Vi2StatsFloatIterator> {
42 
43 public:
46  const std::set<casacore::MSMainEnums::PredefinedColumns> &mergedColumns,
48 
50 };
51 
52 } // namespace casa
53 
54 #endif // MSVIS_STATISTICS_VI2_WEIGHT_SPECTRUM_DATA_PROVIDER_H_
const casacore::Bool omit_flagged_data
const casacore::Cube< casacore::Float > & dataArray()
VisibilityIterator2 iterates through one or more readonly MeasurementSets.
Vi2WeightSpectrumDataProvider(vi::VisibilityIterator2 *vi2, const std::set< casacore::MSMainEnums::PredefinedColumns > &mergedColumns, casacore::Bool omit_flagged_data)
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
std::unordered_set< string > mergedColumns
casacore::StatsDataProvider template class backed by VisibilityIterator2 instances.
std::unique_ptr< vi::VisibilityIterator2 > vi2