#include <synthesis/MeasurementComponents/StandardVisCal.h>
#include <synthesis/MeasurementComponents/CalCorruptor.h>
#include <msvis/MSVis/VisBuffer.h>
#include <msvis/MSVis/VisBuffAccumulator.h>
#include <synthesis/CalTables/CTIter.h>
#include <ms/MeasurementSets/MSColumns.h>
#include <synthesis/MeasurementEquations/VisEquation.h>
#include <synthesis/MeasurementComponents/SolveDataBuffer.h>
#include <scimath/Fitting/LSQFit.h>
#include <scimath/Fitting/LinearFit.h>
#include <scimath/Functionals/CompiledFunction.h>
#include <scimath/Functionals/Polynomial.h>
#include <scimath/Mathematics/AutoDiff.h>
#include <casa/BasicMath/Math.h>
#include <tables/TaQL/ExprNode.h>
#include <casa/Arrays/ArrayMath.h>
#include <casa/Arrays/MatrixMath.h>
#include <casa/BasicSL/String.h>
#include <casa/Utilities/Assert.h>
#include <casa/Utilities/GenSort.h>
#include <casa/Exceptions/Error.h>
#include <casa/OS/Memory.h>
#include <casa/System/Aipsrc.h>
#include <casa/sstream.h>
#include <measures/Measures/MCBaseline.h>
#include <measures/Measures/MDirection.h>
#include <measures/Measures/MEpoch.h>
#include <measures/Measures/MeasTable.h>
#include <casa/Logging/LogMessage.h>
#include <casa/Logging/LogSink.h>
using namespace casacore;
PJones::PJones(VisSet& vs) :
pjonestype_(Jones::Diagonal),
if (prtlev()>2) cout << "P::P(vs)" << endl;
PJones::PJones(String msname,Int MSnAnt,Int MSnSpw) :
VisCal(msname,MSnAnt,MSnSpw),
VisMueller(msname,MSnAnt,MSnSpw),
VisJones(msname,MSnAnt,MSnSpw),
pjonestype_(Jones::Diagonal),
if (prtlev()>2) cout << "P::P(msname,MSnAnt,MSnSpw)" << endl;