File: msiterator.cpp

package info (click to toggle)
aoflagger 3.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 4,476 kB
  • sloc: cpp: 51,868; python: 152; sh: 25; makefile: 17
file content (16 lines) | stat: -rw-r--r-- 508 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "msiterator.h"

MSIterator::MSIterator(const casacore::MeasurementSet& ms, bool hasCorrectedData) :
	_row(0),
	_ms(ms),
	_antenna1Col(_ms, "ANTENNA1"),
	_antenna2Col(_ms, "ANTENNA2"),
	_dataCol(_ms, "DATA"),
	_flagCol(_ms, "FLAG"),
	_correctedDataCol(hasCorrectedData ? new casacore::ArrayColumn<casacore::Complex>(_ms, "CORRECTED_DATA") : nullptr),
	_timeCol(_ms, "TIME"),
	_fieldCol(_ms, "FIELD_ID"),
	_scanNumberCol(_ms, "SCAN_NUMBER"),
	_uvwCol(_ms, "UVW"),
	_windowCol(_ms, "DATA_DESC_ID")
{ }