Pull request #1385: PIPE-2264 improve numpy 2 compatibilityMerge in PIPE/pipeline from PIPE-2264-improve-numpy-2-compatibility to main
* commit 'e2cad6514b1d16995ba318197fdb9a89b1811455': (34 commits)
Do not import bdsf on CASA 6.6.6+
Bump minimum casa version
Increment astropy version
Constrain input value to 1-d list
Revert temporal change on hsd/tasks/imaging/worker.py
Porting findContinuum version 8.2
porting almarenorm v2.1
proper...
Pull request #1384: PIPE-1719 improve python 3.10 compatbilityMerge in PIPE/pipeline from PIPE-1719-improve-python-3.10-compatbility to main
* commit 'b22f8c90f7538f2ed9681a7363ba13ae86f06201':
remove unnecessary cast to list
Replacement of cElementTree with ElementTree for other files.
xml module changes for Python 3.10 compatibility
use collections.abc submodule to refer collections abstract base classes
Constrain input value to 1-d listAlthough there is no mechanism to constrain numpy array input, constraint on the list was introduced to type hint. Implementation checks every list/ndarray elements if they are "value" (number or string) instead of list/ndarray.
Revert temporal change on hsd/tasks/imaging/worker.pyThis reverts commits 3a0a2c2f9176383418a06d3c5c830b406437d107 and 0a6d900e8b307e4640608f0a82670d7cc8eb694c.
By this commit, image products generated by this branch will change
compared with the ones generated by CASA 6.6.1 (PL2024) due to the
change of frequency interpolation method for imaging from "nearest"
to "linear".
Pull request #1377: PIPE-2322 clone for main hsd baseline missing profile maps with huge deviation masksMerge in PIPE/pipeline from PIPE-2322-clone-for-main-hsd_baseline-missing-profile-maps-with-huge-deviation-masks to main
* commit '52bf5ddb3e6c62ade8fe52e5c98ac8ebfeaa5d87':
add comment on channel width
PIPE-2322 use scipy.interpolate.interp1d to enable extrapolation
PIPE-2322 add test for ch_to_freq
update docstring
refactoring for minor performance improvement
Chery-pick PIPE-231...
Fix scorecalculator unit test failureIt seems that builtin sum in Python 3.10 tries to keep data type of the values to be summed up even if it causes overflow. On the other hand, np.sum flexibly changes data type of resulting value when data type is integer and the resulting value causes overflow with the input data type.
Removed unnecessary log handling from applycal qa code.A piece of code was wrapped by "with" statement to ignore numpy ComplexWarning. However, that code should not emit ComplexWarning according to the nature of the operation. So it should be safe to remove "with" block.
use utility function to convert list/ndarray into stringIn Python 3.10 with NumPy 2.0.1, print(list(ndaray)) gives elements with data types such as '[np.int64(0), np.int64(1), np.int64(2)]'. Utility function was defined to avoid such unexpected string.
Pull request #1381: PIPE-2328 clone update the task reference manual for pl2024 and add PIPE-2341 change to mainMerge in PIPE/pipeline from PIPE-2328-clone-update-the-task-reference-manual-for-pl2024 to main
* commit '7634237de057c81d5b2a427397976dd6d41b6bc1':
PIPE-2285: Add more information to hifv_mstransform docstring.
PIPE-2285: Correct example in h_importdata docstring. Add additional whitespace in hsd_resotredata for consistency, and remove unnecessary parenthesis in hifv_restoredata.
PIPE-2...
Pull request #1379: PIPE-2327: clone of PIPE-2325 changes to merge to main: update task CLI docstring for restoredata tasksMerge in PIPE/pipeline from PIPE-2327_copytoraw_restoredata to main
* commit '4934b819dba18a05fbf93bd2090fe73495b964a2':
PIPE-2327: remove comment from hsdn_restoredata task CLI docstring (cloned from PIPE-2325).
PIPE-2327: update task CLI docstring for hsdn_restoredata to document default behaviour for copytoraw and add parameter defaults (cloned from PIPE-2325).
PIPE-2327: update task ...
xml module changes for Python 3.10 compatibility- avoid using deprecated method Element.getchildren
- replace deprecated xml.etree.cElementTree with xml.etree.ElementTree