Source
casacore::Bool copyImage(casacore::ImageInterface<casacore::Float>*& out, const casacore::ImageInterface<casacore::Float>&in,
//# ImagePolProxy.h: a casa namespace class for imagepol tool
//# 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 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: ImagePolProxy.h 20299 2008-04-03 05:56:44Z gervandiepen $
namespace casacore{
class LogIO;
class String;
class Record;
class Normal;
template<class T> class ImageInterface;
}
namespace casa {
//# Forward declarations
// Implementation of the image polarimetry functionality
// available from casapy.
class ImagePol
{
public:
// "imagepol" constructors
ImagePol();
ImagePol(casacore::ImageInterface<casacore::Float>& im);
virtual ~ImagePol();
// Make test image
casacore::Bool imagepoltestimage(const casacore::String& outFile = "imagepol.iquv",
const casacore::Vector<casacore::Double>& rm = casacore::Vector<casacore::Double>(1, 0.0),
casacore::Bool rmDefault = true,
casacore::Double pa0 = 0.0, casacore::Double sigma = 0.01,
casacore::Int nx = 32, casacore::Int ny = 32, casacore::Int nf = 32,