Source
xxxxxxxxxx
const casacore::uInt ant2, const casacore::uInt feed2, casacore::Array<casacore::Double>& uvw);
//# MSUVWGenerator.h: Generate and insert the (u, v, w)s of a MS.
//# Copyright (C) 2008
//# 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$
//#
// FTMachine::rotateUVW(casacore::Matrix<casacore::Double>& uvw, casacore::Vector<casacore::Double>& dphase,
// const VisBuffer& vb)
namespace casacore{
class MeasurementSet;
class LogIO;
}
namespace casa { //# NAMESPACE CASA - BEGIN
// <summary>Generates and inserts the (u, v, w)s of a casacore::MS that may or may not
// already have them. Includes antenna offsets when known.</summary>
// <use visibility=export>
//
// <reviewed reviewer="" date="yyyy/mm/dd" tests="" demos="">
// </reviewed>
//
// <prerequisite>
// <li> <linkto class=casacore::MeasurementSet>MeasurementSet</linkto>
// <li> <linkto class=casacore::Measure>Measure</linkto>
// </prerequisite>
//
// <etymology>
// It generates a UVW column for the casacore::MS, whether or not it already has one.
// It is an adaptation of alma/apps/asdm2MS/UvwCoords to work with MSes instead
// of ASDMs.
// </etymology>
//
// <synopsis>
// (u, v, w)s are needed for imaging, but some data sets may not come with them
// included, or the (u, v, w)s may need correction.
// </synopsis>
//
// <motivation>
// Currently (10/30/2008), ASDMs from either the ALMA Test Facility or the
// EVLA do not come with (u, v, w)s, and need to be processed with the UVFIX
// task in AIPS. It would be preferable to process them entirely inside CASA.
// </motivation>
//
// <todo asof="11/20/2008">
// It requires as input the casacore::MS timeCentroids item which is an output in the
// ASDM DAMs.
// - the use-case when the timeCentroid is baseline-based and or spectral
// window based.
// - correlationMode filter (hopefully handled by SDM -> casacore::MS import routines).
// direction item in the field table.
// @note The current limitations are set by the status of the ASDM
// - OTF not supported due to a limitation in the model of the phase
// </todo>
class MSUVWGenerator
{
public:
// Constructor