diff --git a/Appl/CEP/CS1/CS1_Imager/include/CS1_Imager/ImagerProcessControl.h b/Appl/CEP/CS1/CS1_Imager/include/CS1_Imager/ImagerProcessControl.h index c102737f717c796d562dba77206b3ab61cc62ea3..9ea9f3fd204b60b861363b45855f0971403e6ed0 100644 --- a/Appl/CEP/CS1/CS1_Imager/include/CS1_Imager/ImagerProcessControl.h +++ b/Appl/CEP/CS1/CS1_Imager/include/CS1_Imager/ImagerProcessControl.h @@ -51,8 +51,8 @@ namespace LOFAR int itsStep; int itsNX; int itsNY; - int itsCellX; - int itsCellY; + double itsCellX; + double itsCellY; std::string itsStokes; std::string itsWeightType; int itsWeightNPixels; diff --git a/Appl/CEP/CS1/CS1_Imager/src/ImagerProcessControl.cc b/Appl/CEP/CS1/CS1_Imager/src/ImagerProcessControl.cc index d0af1950a9d5c1c2c5097cc9368da3d66b322607..7c26dd8acf8f43ae387330c612f0cdf5079e60f6 100644 --- a/Appl/CEP/CS1/CS1_Imager/src/ImagerProcessControl.cc +++ b/Appl/CEP/CS1/CS1_Imager/src/ImagerProcessControl.cc @@ -74,8 +74,8 @@ namespace LOFAR itsStep = ParamSet->getInt32("step"); itsNX = ParamSet->getInt32("nx"); itsNY = ParamSet->getInt32("ny"); - itsCellX = ParamSet->getInt32("cellx"); - itsCellY = ParamSet->getInt32("celly"); + itsCellX = ParamSet->getDouble("cellx"); + itsCellY = ParamSet->getDouble("celly"); itsStokes = ParamSet->getString("stokes"); itsWeightType = ParamSet->getString("weighttype"); itsWeightNPixels = ParamSet->getInt32("weightnpixels"); @@ -113,8 +113,8 @@ namespace LOFAR const casa::Vector<casa::Int> myFieldID(1, itsFieldID); myImager->setdata(myMode, myNChannel, myStart, myStep, itsMStart, itsMStep, itsSpectralWindowIDs, myFieldID); - const casa::Quantity itsCellX(itsCellX, "arcsec"); - const casa::Quantity itsCellY(itsCellY, "arcsec"); + const casa::Quantity myCellX(itsCellX, "arcsec"); + const casa::Quantity myCellY(itsCellY, "arcsec"); const casa::String myStokes(itsStokes); bool itsDoShift(false); const casa::MDirection itsPhaseCenter(0.0); //? unknown what the default should be, AR @@ -124,7 +124,7 @@ namespace LOFAR const casa::Quantity itsDistance(0, "m"); const casa::Float itsPaStep(5.0); //? unknown what the default should be, AR const casa::Float itsPbLimit(0.05); //? unknown what the default should be, AR - myImager->setimage(itsNX, itsNY, itsCellX, itsCellY, myStokes, itsDoShift, itsPhaseCenter, itsShiftX, itsShiftY, + myImager->setimage(itsNX, itsNY, myCellX, myCellY, myStokes, itsDoShift, itsPhaseCenter, itsShiftX, itsShiftY, myMode, itsNChannel, itsStart, itsStep, itsMStart, itsMStep, itsSpectralWindowIDs, itsFieldID, itsFacets, itsDistance, itsPaStep, itsPbLimit);