Source
//# CubeMajorCycleAlgorithm.cc: implementation of class to grid cube in parallel/serial
//# Copyright (C) 2019
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU General Public License as published by
//# the Free Software Foundation; either version 3 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 General Public
//# License for more details.
//#
//# https://www.gnu.org/licenses/
//#
//# Queries concerning CASA should be submitted at
//# https://help.nrao.edu
//#
//# Postal address: CASA Project Manager
//# National Radio Astronomy Observatory
//# 520 Edgemont Road
//# Charlottesville, VA 22903-2475 USA
//#
//#
//# $Id$
using namespace casacore;
namespace casa { //# NAMESPACE CASA - BEGIN
extern Applicator applicator;
CubeMakeImageAlgorithm::CubeMakeImageAlgorithm() : myName_p("CubeMakeImageAlgorithm"), polRep_p(0), status_p(False){
}
CubeMakeImageAlgorithm::~CubeMakeImageAlgorithm() {
}
void CubeMakeImageAlgorithm::get() {
//cerr << "in get for child process " << applicator.isWorker() << endl;
Record imParsRec;
Record vecSelParsRec;
Record gridParsRec;
// get data sel params #1
applicator.get(vecSelParsRec);
// get image sel params #2
applicator.get(imParsRec);
// get gridders params #3
applicator.get(gridParsRec);
// get which channel to process #4
applicator.get(chanRange_p);
cerr <<"GET chanRange " << chanRange_p << endl;
// which type of image #5
applicator.get(imageType_p);
// weight params #6
applicator.get(weightParams_p);