CASA/Pipeline Updates
Toshiki Saito, Takeshi Nakazato, Kanako Sugimoto, and Satoko Takahashi (NAOJ)
on behalf of CASA and Pipeline teams

Operation of Cycle 8 Pipeline
IFSD

2022/12/20-21

ALMA/45m/ASTE Users Meeting 2022

0 1 2 3 4 5 6 7 8
CYCLE

2

CASA and Pipeline Releases
CASA• Incremental release (every 2 months)• Modular (pip wheels) and monolithic (tar-ball)• CASA 6.4.3 (Jan. 2022), CASA 6.4.4 (Apr. 2022)• CASA 6.5.0 (Jun. 2022), CASA 6.5.1 (Aug. 2022), CASA 6.5.2 (Oct. 2022)

Pipeline• One release/year/project• Packaged with CASA as a tar-ball• 2022.2.0.64 + CASA 6.4.1 for ALMA Cycle 9, Nobeyama, and VLA• 2022.1.1.5 + CASA 6.4.1 for VLASS Coarse Cubes
2022/12/20-21

ALMA/45m/ASTE Users Meeting 2022

3

Highlights of CASA Updates (1/3)• Please see Release Information of casadocs for detail• CASA 6.4.x
https://casadocs.readthedocs.io/en/v6.4.4/notebooks/introduction.html• CASA 6.5.x
https://casadocs.readthedocs.io/en/stable/notebooks/introduction.html

Infrastructure• Multi-platform support• RHEL7+Python 3.6/3.8, RHEL8+Python 3.8• Ubuntu 18.04+Python 3.6/3.8, Ubuntu 22.10+Python 3.8• macOS 10.14/10.15/11 x86/12 ARM+Python 3.8• Performance benchmark https://casangi.github.io/casabench/• prototyping for next generation CASA (CNGI) - not yet included
2022/12/20-21

ALMA/45m/ASTE Users Meeting 20224

Highlights of CASACASAUpdates– interactive (2/3)
cleanInterferometry

A standalone GUI for interactive control of the CASA
tclean task.

• new deconvolveDesign- task
Interaction with CASA through the task API- Input parameters, output images &• new uvcontsub task- dictionaries
tclean + deconvolve- Multiple usage modes possible – Python
CLI + browserfor
tab, Jupyter• improved shadow flagging
ACAnotebook,
Electron app- Modular design with re-usable building blocks• restructuring imaging
tasksimage
toandreturn- Interactivespectrum displays
CASA- Mask creation andmodification– interactive clean
dictionaries to include
convergence history
Features- Automasking + manualCASA
modification – interactive clean- Iteration control at the major-minor cycle• new interactive CLEAN>>> from casagui.apps import InteractiveCleanboundary- Mask drawing/editing/saving>>> ic = InteractiveClean(
prototypeimagename='try',imsize=256,- Image statistics, spectravis=vis,
and convergenceplots
cell='8.0arcsec', specmode='cube',- Save/record
interaction history
to a script(browser/standaloneapp)interpolation='nearest',niter=400,
threshold='0.05Jy',cycleniter=25,>>> from casagui.apps import InteractiveClean>>> ic = InteractiveClean(vis=vis, imagename='try', imsize=256,
cell='8.0arcsec', specmode='cube',
interpolation='nearest',niter=400,
threshold='0.05Jy',cycleniter=25,
deconvolver='hogbom')-This runs tclean with niter=0, restoration=False to make theinitial residual
image, psf (and starting model/mask).
deconvolver='hogbom')

References>>>- ic( This)- https://open-jira.nrao.edu/browse/CAS-13743
runs tclean with niter=0, restoration=False to make theinitialresidual
image,(and starting- https://open-jira.nrao.edu/browse/CASR-681● Launchesthe GUI
in a psfbrowser
tab andmodel/mask).
starts the event loop
2022/12/20-21●

After modifying the masks, the buttons with circular arrows●●●tclean(… ,inmask=’guimask.crtf’,nmajor=1,Launches
the GUIa browser tab and starts
the event loop
restoration=False)
Aftermodifying
themasks,
thebuttons
withcirculararrows
When any convergence criterion is reached or one major
cycle>>> ic( launch)
ALMA/45m/ASTE
Users Meeting 2022
launch:5

Highlights of CASA Updates (3/3)
Single-Dish• new imbaseline task - image based spectral baseline subtraction• new caltype of gencal to access Jy/K DB• performance improvement of imaging tasks• ~30% improvement of sdimaging for Solar TP data
• ~20% improvement of tsdimaging for ephemeris data

• several bug fixes/improvement of sdbaseline

2022/12/20-21

ALMA/45m/ASTE Users Meeting 2022

6

Highlights of Pipeline Updates (1/3)• Please see User’s Guide for detailhttps://almascience.nao.ac.jp/documents-andtools/cycle9/alma-science-pipeline-users-guide-casa-6-4.1

Infrastructure• Weblog: better “Pipeline QA” notifications

2022/12/20-21

ALMA/45m/ASTE Users Meeting 2022

7

Highlights of Pipeline Updates (2/3)
Interferometry• several improvements to Low-SNR calibration heuristics• findContinuum: better handling of weak extended emission withstrong compact source• hifa_renorm: exclude atmospheric features from renormalization• prepare for self-calibration in a future release• QA• new phase stability QA diagnostic (hifa_spwphaseup)• new spw-spw phase offset QA (hifa_timegaincal)• hifa_wvrgcalflag QA improvements

2022/12/20-21

ALMA/45m/ASTE Users Meeting 20228

Highlights of Pipeline Updates (3/3)
Single-Dish• Heuristics on offline
atmospheric correction• choose best atmosphericmodel per EB• Support of TP SpectralScan
mode (Cycle 10)• Improved ephemeris
imaging (SOURCE frame)• Significant reduction ofmemory consumption

2022/12/20-21• CASA’s bug fix• memory usage is ~1/10 ofCycle 8 Pipeline

not badbetter

Cycle 8

ALMA/45m/ASTE Users Meeting 2022

Cycle 99

Nobeyama Pipeline• CASA 6.1.1-15 (Pipeline 2020.1.40) or later supports OTF observations by Nobeyama 45-m
telescope with FOREST.
• Please use CASA 6.2.1-7 (Pipeline 2021.2.0.128) or later, which fixes a bug in restoredata task
• See Nobeyama Pipeline Users Guide for detail:https://www.nro.nao.ac.jp/~nro45mrt/html/obs/CASA/pipeline/NobeyamaPipelineUsersGuide.html
Nobeyama 45-m / ASTE Science Data Archive status (as of 2022/12/20)• https://nobeyama-archive.nao.ac.jp/user/index.html• 4777 (3537+1240 compared to the previous users meeting) datasets from five seasons (2017-18,2018-19, 2019-20, 2020-21 and 2021-22) were successfully processed and stored.
• MeasurementSets and the pipeline products including FITS data
• will process the data observed from 2013 to 2017 as well as the future seasons (2022-23and beyond)2022/12/20-21

ALMA/45m/ASTE Users Meeting 202210

Plans of Pipeline and CASA releases in 2023
CASA 6.6• introduction of CNGI functions into CASA 6• GPU gridder• new Interactive CLEAN, deprecate viewer• multi-MS support for polcal• more performance improvement of tsdimaging, retirement of sdimaging

Pipeline 2023

• Migration from RHEL7/Python 3.6 to RHEL8/Python 3.8• QA improvements• Band 1 support• initial selfcal implementation• further improvement of line detection & validation for spectral baseline subtraction
2022/12/20-21

ALMA/45m/ASTE Users Meeting 2022

11

Thank you for your attention

2022/12/20-21

ALMA/45m/ASTE Users Meeting 202212