CAS-14759 : Consolidate PB masking logic
The previous few commits introduced a separate PB masking route through
the code, adding to the several that exist already. This commit extracts
the C++ PB masking call into it's own function, exposes it via the XML
layer so it is callable by Python, and replaces the new PB masking logic
with the existing logic.
Pull request #1052: CAS-14694
Merge in CASA/casa6 from CAS-14694 to master
* commit '6f1345ac52f7252da24ccdc916163333039734d1':
For CAS-14694: In SolvableVisCal::setSimulate, for simulation of DJones only, short-circuit VI major and minor iteration over the MS so that instrumental polarization is neither time- nor (for mosaic sims) field-dependent. This breaks 'testSky_intLeak' in test_task_simobserve.py. NB: this is not yet a complete polarimetry simulation because parang is not yet treated. CAS-14694: update simobserve task built-in help for leakage parameter CAS-14694: make simobserve produce full-pol simulation when input model image is full-pol, independent of leakage CAS-14694: activated test case testNZ_intMan_Leak and made sure leakage is only applied for obsmode='int'
Enable teardown for test_task_simobserve CAS-14694: Made ANoise::nPar() in AMueller.h return 4 instead of 2. CAS-14694: changes which seem to solve the remaining problems CAS-14694: reverted use of sm.setfeed in simobserve task CAS-14694 modified the task script to make appropriate sm tool calls when leakage>0
For CAS-14694: In SolvableVisCal::setSimulate, for simulation of DJones only, short-circuit VI major and minor iteration over the MS so that instrumental polarization is neither time- nor (for mosaic sims) field-dependent. This breaks 'testSky_intLeak' in test_task_simobserve.py. NB: this is not yet a complete polarimetry simulation because parang is not yet treated.
Pull request #1030: CAS-14758: Optimize image processing by caching tool handles in fill_summary_minor to avoid redundant open/close operations
Merge in CASA/casa6 from CAS-14758 to master
* commit 'a46b0fa46be4985558dfe705e9f2eccf577b4aed': CAS-14758: Handle missing residual images when constructing minor cycle summary CAS-14758: Optimize image processing by caching tool handles in fill_summary_minor to avoid redundant open/close operations