Source
xxxxxxxxxx
// -----------------------------------------------------------------------------
/*
CalStats.cc
Description:
------------
This file contains member functions for the CalStats class.
Classes:
--------
CalStats - This class calculates statistics of new CASA caltables.
Modification history:
---------------------
2011 Nov 11 - Nick Elias, NRAO
Initial version.
2012 Jan 25 - Nick Elias, NRAO
Logging capability added. Error checking added.
*/
// -----------------------------------------------------------------------------
// Includes
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
// Start of casa namespace
// -----------------------------------------------------------------------------
using namespace casacore;
namespace casa {
// -----------------------------------------------------------------------------
// Start of CalStats class
// -----------------------------------------------------------------------------
/*
CalStats
Description:
------------
This class calculates statistics of new CASA caltables.
NB: At present this class gets data and calculates fit statistics, but other
things such as histogram statistics will be added later.
In a nutshell:
--------------
* This class can get data (no statistics calculated) and calculate fit
statistics from these data.
* Hooks are present in the code for calculating histogram statistics in the
future.
* This class employs internal iterators to move uniformly through the data
cubes. This process is invisible to the user.
* The input data are cubes whose axes are feed, frequency, and time. The other
axes, such as antenna 1, antenna 2, etc. are handled in another class. There
are two iteration axes and one non-iteration axis, which means that this class