#include <calibrater_cmpt.h>
#include <synthesis/MeasurementComponents/Calibrater.h>
#include <casa/Logging/LogIO.h>
#include <casa/Utilities/Assert.h>
#include <casa/BasicSL/String.h>
#include <casa/Containers/Record.h>
#include <casa/Containers/RecordDesc.h>
#include <casa/Quanta/QC.h>
#include <casa/Utilities/Regex.h>
#include <casa/OS/File.h>
#include <casa/OS/SymLink.h>
#include <tables/Tables/ScalarColumn.h>
#include <ms/MeasurementSets.h>
#include <ms/MeasurementSets/MSRange.h>
#include <ms/MeasurementSets/MSField.h>
#include <ms/MeasurementSets/MSSpectralWindow.h>
#include <synthesis/TransformMachines/VisModelData.h>
#include <synthesis/CalLibrary/CalLibraryTools.h>
#include <measures/Measures/MeasTable.h>
using namespace casacore;
using namespace casacore;
calibrater::calibrater() :
bool forceOldVIByEnv(false);
forceOldVIByEnv = (getenv("VI1CAL")!=NULL);
bool forceNewVIByEnv(false);
forceNewVIByEnv = (getenv("VI2CAL")!=NULL);
cout << "Found VI1CAL env var; forcing default use of old VI!" << endl;
} else if (forceNewVIByEnv) {
cout << "Found VI2CAL env var; forcing default use of NEW VI2!" << endl;
itsLog = new casacore::LogIO();
itsCalibrater = casa::Calibrater::factory(oldcal_);
LogIO os (LogOrigin ("calibrater", "ctor"));
calibrater::~calibrater()
bool calibrater::open(const std::string& filename,
const bool addscratch, const bool addModel)
LogIO os (LogOrigin ("calibrater", "open"));