Source
xxxxxxxxxx
casacore::Int nframes_(const casacore::Block<casacore::Int>& frames, casacore::Int strtfrm, casacore::Int nfrms, casacore::Int& margin);
//# MSAsRaster.h: DisplayData (drawing layer) for raster displays of an MS
//# Copyright (C) 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$
namespace casa { //# NAMESPACE CASA - BEGIN
class MSAsRasterDM;
// <summary>
// Class for displaying data within an casacore::MS as a raster (gridded) image.
// </summary>
// <prerequisite>
// <li> CachingDisplayData
// <li> WorldCanvas[Holder]
// <li> MeasurementSet
// <li> CoordinateSystem
// <li> Array
// </prerequisite>
// <etymology>
// "MSAsRaster" is a implementation of a <linkto class=ActiveCaching2dDD>
// ActiveCaching2dDD </linkto> which provides for the display of Measurement
// Set data (visibilities) as a raster image.
// </etymology>
// <synopsis>
// MSAsRaster displays Measurement Set data which can be presented as a
// regular grid, on a WorldCanvas (data which is sparse and
// irregular on its display axes would typically be plotted using MSAsXY
// instead). Display or iteration axes include time, baseline,
// channels and polarizations. Visibilities of the selected slice are drawn
// as a Raster image.
//
// Unlike many DDs, MSAsRaster has _two_ levels of underlying data: the source
// casacore::MS, and a hypercube of visibility data, which is extracted from the casacore::MS and
// gridded onto 5 main axes: time, baseline, spectral window, frequency and
// polarization. Extracting the data is a more time-consuming operation
// than display of various portions of gridded data, and is triggered only
// through the extract_() method. casacore::Data selection options do not take effect
// until triggered in this way. In contrast, many options affecting display