Pull request #1071: CAS-14778
Merge in CASA/casa6 from CAS-14778 to master
* commit '0d731f5701553c3bcd07344a0be600f6ec4afee4': CAS-14778 : Fix rectangular image case
rename to cameltype and assert that dimensions are either both even or both odd
Add test
Copy the solution for odd pixels that was found for Matrix Cleaner over to also apply to MultiTermMatrixCleaner.cc Validated on Cygnus A, scales=[0,1], nterms=1, cellsize = 1.6 arcsec (such that the bright termination lobes correspond to just a few pixels transversely, in this way we can test the effect of the code change without simply looking at the effects of extended emission)
Solved the problem for an odd number of pixels for Asp-CLEAN and MS-CLEAN. That is simply done by moving the slice for the beam subtraction up by one pixel. The problem does not exist for Hogbom. TBD: Verify that these fixes also fix the spectral versions and multiterm versions of the deconvolvers.
CAS-14778 : Fix rectangular image case
Specifically, allow one axis to be odd and the other even. Previously
this was trapped as an exception, but this is explicitly a use-case that
tclean supports.