Source
<< "Merging SPECTRAL_WINDOW sub-tables from all sub-MSs to form MMS-level SPECTRAL_WINDOW sub-table" << LogIO::POST;
//# MSTransformDataHandler.cc: This file contains the implementation of the MSTransformDataHandler class.
//#
//# CASA - Common Astronomy Software Applications (http://casa.nrao.edu/)
//# Copyright (C) Associated Universities, Inc. Washington DC, USA 2011, All rights reserved.
//# Copyright (C) European Southern Observatory, 2011, All rights reserved.
//#
//# This library is free software; you can redistribute it and/or
//# modify it under the terms of the GNU Lesser General Public
//# License as published by the Free software Foundation; either
//# version 2.1 of the License, or (at your option) any later version.
//#
//# This library is distributed in the hope that it will be useful,
//# but WITHOUT ANY WARRANTY, without even the implied warranty of
//# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
//# Lesser General Public License for more details.
//#
//# You should have received a copy of the GNU Lesser General Public
//# License along with this library; if not, write to the Free Software
//# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
//# MA 02111-1307 USA
//# $Id: $
using namespace casacore;
namespace casa { //# NAMESPACE CASA - BEGIN
/////////////////////////////////////////////
/// MSTransformDataHandler implementation ///
/////////////////////////////////////////////
// -----------------------------------------------------------------------
//
// -----------------------------------------------------------------------
MSTransformDataHandler::MSTransformDataHandler(const String& theMS, Table::TableOption option,
Bool virtualModelCol,Bool virtualCorrectedCol,
Bool reindex) :
ms_p(MeasurementSet(theMS, option)),
mssel_p(ms_p),
msc_p(NULL),
mscIn_p(NULL),
keepShape_p(true),
antennaSel_p(false),
timeBin_p(-1.0),
scanString_p(""),
intentString_p(""),
obsString_p(""),
uvrangeString_p(""),
taqlString_p(""),
timeRange_p(""),
arrayExpr_p(""),
combine_p(""),
fitorder_p(-1),
fitspw_p("*"),
fitoutspw_p("*"),
virtualModelCol_p(virtualModelCol),
virtualCorrectedCol_p(virtualCorrectedCol),
reindex_p(reindex)
{
return;
}
// -----------------------------------------------------------------------
//
// -----------------------------------------------------------------------
MSTransformDataHandler::MSTransformDataHandler(const MeasurementSet& ms,
Bool virtualModelCol,Bool virtualCorrectedCol,
Bool reindex) :
ms_p(ms),
mssel_p(ms_p),
msc_p(NULL),
mscIn_p(NULL),
keepShape_p(true),
antennaSel_p(false),
timeBin_p(-1.0),
scanString_p(""),
intentString_p(""),
obsString_p(""),
uvrangeString_p(""),
taqlString_p(""),
timeRange_p(""),
arrayExpr_p(""),
combine_p(""),
fitorder_p(-1),
fitspw_p("*"),
fitoutspw_p("*"),