Source
// DT aInitGrad, aGetChanSel, aCheckVisRows, aGetFreq, aOrigChunks, aVBInValid, aInitGetSlice, aInitPutSlice, aPutSlice, aFinalizeGetSlice, aFinalizePutSlice, aChangeStokes, aInitModel, aGetSlice, aSetModel, aGetRes, aExtra;
//# CubeSkyEquation.h: CubeSkyEquation definition
//# Copyright (C) 2007
//# 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 Library General Public License as published by
//# the Free Software Foundation; either version 2 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 Library General Public
//# License for more details.
//#
//# You should have received a copy of the GNU Library General Public License
//# along with this library; if not, write to the Free Software Foundation,
//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
//#
//# Correspondence concerning AIPS++ should be adressed as follows:
//# Internet email: aips2-request@nrao.edu.
//# Postal address: AIPS++ Project Office
//# National Radio Astronomy Observatory
//# 520 Edgemont Road
//# Charlottesville, VA 22903-2475 USA
//#
//# $Id$
//#include <synthesis/Utilities/ThreadTimers.h>
namespace casacore{
template <class T> class ImageInterface;
template <class T> class TempImage;
template <class T> class SubImage;
template <class T> class Block;
}
namespace casa { //# NAMESPACE CASA - BEGIN
//Forward
class VisibilityIterator;
class ROVisibilityIterator;
class CubeSkyEquation : public SkyEquation {
public:
CubeSkyEquation(SkyModel& sm, VisSet& vs, FTMachine& ft, ComponentFTMachine& cft, casacore::Bool noModelCol=false);
//Read only iterator...hence no scratch col
CubeSkyEquation(SkyModel& sm, ROVisibilityIterator& vi, FTMachine& ft, ComponentFTMachine& cft, casacore::Bool noModelCol=false);
virtual ~CubeSkyEquation();
virtual void predict(casacore::Bool incremental=false, casacore::MS::PredefinedColumns Type=casacore::MS::MODEL_DATA);
virtual void gradientsChiSquared(casacore::Bool incremental, casacore::Bool commitModel=false);
virtual void initializePutSlice(const VisBuffer& vb, casacore::Bool dopsf, casacore::Int cubeSlice=0, casacore::Int nCubeSlice=1);
virtual void newInitializePutSlice(const VisBuffer& vb, casacore::Bool dopsf, casacore::Int cubeSlice=0, casacore::Int nCubeSlice=1);
virtual void oldInitializePutSlice(const VisBuffer& vb, casacore::Bool dopsf, casacore::Int cubeSlice=0, casacore::Int nCubeSlice=1);