Open in Colab: https://colab.research.google.com/github/casangi/casadocs/blob/fe2b08a/docs/notebooks/viewer_end_of_life.ipynb
Viewer End-of-Life
The CASA Viewer, invoked by the tasks imview, msview, or tclean (interactive=True), has long been the workhorse visualization and analysis tool for images and image cubes made with CASA. However, currently the CASA Viewer is no longer supported, despite numerous Known Issues. The reasons for that are:
The CARTA visualization software has matured to the extent that it replaces most of the functionality of the CASA Viewer, in a much more modern software that is scalable to large data sets;
The Viewer cold is old and fragile, and would require too many development resources that are needed elsewhere.
While a legacy version of the Viewer continues to be packaged with the Linux RHEL version of CASA for the moment, the Viewer has ceased to work on Mac OS ARM machines. As of CASA 6.6.5, the Viewer has therefore been removed from all Mac packages.
Viewer on Mac
The CASA Viewer no longer launches on Mac OS 13 and 14 machines that run on ARM chips, returning the error:
Library not loaded: /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
Therefore, the CASA Viewer is no longer included on ARM builds for OS 13 and 14. For CASA versions 6.5.6 - 6.6.4,the Mac OS 12 Intel version (including the Viewer) is known to work on OS 13, but not 14. As of CASA 6.6.5, the Viewer has been removed alltogether for all Mac OS builds (OS 12+).
For all image and image cube visualization, please use the CARTA visualization software. CARTA does not support interactive tclean, but an interactive tclean widget is under development, with a beta version offered in CASA 6.6.5. See below for details.
CARTA
CARTA is the Cube Analysis and Rendering Tool for Astronomy, new image visualization and analysis tool designed for the ALMA, the VLA, and the SKA pathfinders.
CARTA is a separate, external application and not directly integrated with CASA. CARTA offers most of the functionality of the CASA Viewer, and has additional advantages and functionality. More details can be found on the dedicated CARTA page in CASA Docs.
We refer to the official CARTA website for download and installation instructions, as well as a proper set of documentation.
Interactive cleaning
The CASA Viewer provided interactive cleaning functionality for the tasks tclean, deconvolve and sdintimaging. Therefore, these tasks will not work in interactive mode on Mac OS (except for the Mac OS 12 Intel version up to CASA 6.6.4). CARTA does not offer functionality for interactive cleaning.
The CASA team has made progress on developing a new widget to replace the functionality of interactive tclean, which we are calling iclean. This project is currently working towards meeting the ‘Beta 2’ milestones as described on the casagui wiki. The ‘Beta 1’ functionality has been validated and the installation instructions on the wiki are confirmed to work with the CASA 6.6.4 and 6.6.5 releases. The installation instructions describe how to install, import and run the iclean function, which provides a GUI for mask drawing and iteration control and calls the tclean and deconvolve tasks behind the scenes. Although the iclean project is not yet officially released, we welcome feedback from users at casa-feedback@nrao.edu.
Using the Beta 1 version of iclean is one potential solution for MacOS users who wish to clean interactively. Depending on your specific architecture and OS version, other solutions may include: running interactive tclean from an older version of CASA, running the Linux build of CASA on a virtual machine or using a remote Linux machine. Users could also consider running tclean in a pseudo-interactive mode where the initial images are produced by tclean with interactive=False and niter=0, masks are drawn in CARTA and saved as region files, then tclean is provided these regions via the mask parameter and re-started with niter > 0.