Source
visResampler_p->runTimeG_p=visResampler_p->runTimeG1_p=visResampler_p->runTimeG2_p=visResampler_p->runTimeG3_p=visResampler_p->runTimeG4_p=visResampler_p->runTimeG5_p=visResampler_p->runTimeG6_p=visResampler_p->runTimeG7_p=0.0;
// -*- C++ -*-
//# AWProjectWBFT.cc: Implementation of AWProjectWBFT class
//# Copyright (C) 1997,1998,1999,2000,2001,2002,2003
//# 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 addressed 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$
//#define CONVSIZE (1024*4)
//#define OVERSAMPLING 10
// If equal to 1, use tabulated exp() and
// complex exp() functions.
// Max. pointing error in arcsec used to
// determine the resolution of the
// tabulated exp() function.
using namespace casacore;
namespace casa { //# NAMESPACE CASA - BEGIN
namespace refim{
//==================================================================================================
// Various template instantiations
//
template
void AWProjectWBFT::ftWeightImage(Lattice<casacore::Complex>& wtImage,
const Matrix<Float>& sumWt,
const Bool& doFFTNorm);
template
void AWProjectWBFT::makeSensitivityImage(Lattice<casacore::Complex>& wtImage,
ImageInterface<Float>& sensitivityImage,
const Matrix<Float>& sumWt,
const Bool& doFFTNorm);
template
void AWProjectWBFT::ftWeightImage(Lattice<casacore::DComplex>& wtImage,
const Matrix<Float>& sumWt,
const Bool& doFFTNorm);
template
void AWProjectWBFT::makeSensitivityImage(Lattice<casacore::DComplex>& wtImage,
ImageInterface<Float>& sensitivityImage,
const Matrix<Float>& sumWt,
const Bool& doFFTNorm);
template
void AWProjectWBFT::resampleCFToGrid(Array<casacore::Complex>& gwts,
VBStore& vbs, const VisBuffer2& vb);
template
void AWProjectWBFT::resampleCFToGrid(Array<casacore::DComplex>& gwts,
VBStore& vbs, const VisBuffer2& vb);
//==================================================================================================
//
//---------------------------------------------------------------
//
AWProjectWBFT::AWProjectWBFT(Int nWPlanes, Long icachesize,
CountedPtr<CFCache>& cfcache,
CountedPtr<ConvolutionFunction>& cf,