Build: #72 was successful Changes by Pedro Salas and Josh Marvil
Code commits
Casa6
-
Pedro Salas 8ca181ea8b5daf488359c49d744599e4302dfbd7
Pull request #1098: CAS-14893
Merge in CASA/casa6 from CAS-14893 to master
* commit '4bd0cbff4d3f2555e1a79f5cbcb9fff118faebe2':
Update appendatab overwrite description
Improve support for ANTAB files
Fix failing test in MacOS
Reuse INT_TO_STOKES
Implements task exportantab according to ticket CAS-14893
Initial draft for CAS-14893 -
Josh Marvil 34d567c5c93cd1dae16b774940f3d95bae3e5ef3
Pull request #1095: CAS-14719
Merge in CASA/casa6 from CAS-14719 to master
* commit 'a00a67879f3b8170f273d04c57edd889d7b89f91':
CAS-14719: guard against division by zero in getCommonBeam ellipse transform
CAS-14719: avoid small ragged trailing block in cube minor cycle partitioning -
Pedro Salas <salas.mz@gmail.com> 4bd0cbff4d3f2555e1a79f5cbcb9fff118faebe2 m
Update appendatab overwrite description
-
Pedro Salas <salas.mz@gmail.com> 17ec87ce27d53622ff803ee2b4fb28f03cd0187b m
Improve support for ANTAB files
Allow comments (!) at any point in a line. -
Pedro Salas <salas.mz@gmail.com> 44ba1f0e23e28b460dde942e257bddf25efc864a m
Fix failing test in MacOS
Adds OSError to expected exceptions -
Pedro Salas <salas.mz@gmail.com> 7ed7678595d5d1131c459b493b08c7a7f9a927c4 m
Reuse INT_TO_STOKES
-
Pedro Salas <salas.mz@gmail.com> 4aae4b6b7ca69e6e6dbaaf18205920bd047d722b m
Merge remote-tracking branch 'origin/master' into CAS-14893
-
Pedro Salas <salas.mz@gmail.com> 5eea2496b8c3f056cbbc8f00cf1f507046e550f2 m
Implements task exportantab according to ticket CAS-14893
-
Pedro Salas <salas.mz@gmail.com> 19d7a77c2523b6944d1f06754cd0c59387b2078c m
Initial draft for CAS-14893
- casatasks/setup.py (version 19d7a77c2523b6944d1f06754cd0c59387b2078c) (diffs)
- casatasks/src/private/task_exportantab.py (version 19d7a77c2523b6944d1f06754cd0c59387b2078c) (diffs)
- casatasks/tests/tasks/test_task_exportantab.py (version 19d7a77c2523b6944d1f06754cd0c59387b2078c) (diffs)
- casatasks/xml/exportantab.xml (version 19d7a77c2523b6944d1f06754cd0c59387b2078c) (diffs)
- casatestutils/casatestutils/component_to_test_map.json (version 19d7a77c2523b6944d1f06754cd0c59387b2078c) (diffs)
-
Josh Marvil a00a67879f3b8170f273d04c57edd889d7b89f91 m
CAS-14719: guard against division by zero in getCommonBeam ellipse transform
_transformEllipseByScaling divides by 2*j1-1 = |u|/sqrt(f1), which is
exactly zero when the scaled ellipse is circular (u = r - t = 0). That
is an ordinary geometry, not a degenerate input, but the resulting
0/0 evaluates to NaN; the enclosing GaussianBeam then fails
setMajorMinor, and the exception propagates as a failed minor cycle
in automasking. Reproduced on a 6-channel block whose beams share a
single float32 minor axis and whose position angles differ by ~1e-8
rad, so r and t land on the same double.
Take the analytic limit (k = (r+t)/2 +- sqrt(s)) instead of dividing,
and stop the enclosing-beam retry loop from rebuilding a non-finite
beam inside its own catch handler. Also correct the circle branch,
which returned sqrt(k) where the semi-axis is sqrt(1/k); it was
unreachable before and is reachable now. -
Josh Marvil f89197a398c8dec723aa4a5dec30059ccfa60f5d m
CAS-14719: avoid small ragged trailing block in cube minor cycle partitioning
numblockchans derived blksize from nproc and then took nblk=nchan/blksize,
truncating the division; the remainder was re-appended as an extra, much
smaller trailing block. nblk was routinely nproc+1 and the orphan block
could hold only a few channels. The deconvolver derives its mask-smoothing
beam from the block's own beam subset, where getCommonBeam returns
trivially for a single-beam set but enters ill-conditioned arithmetic for
a few very similar channels. Decide the block count first, rounding up so
no block exceeds optchan, then split the channels evenly.