Skip to the navigation links
Last modified: 17 December 2024

URL: https://cxc.cfa.harvard.edu/ciao/releasenotes/ciao_4.17_release.html

CIAO 4.17 Release Notes


CIAO 4.17 is distributed for the following platforms:

CIAO is available using the conda package manager; conda builds are available using Python 3.11 for both Linux and Mac. More information can be found in the conda section of the Installation notes below. The ciao-install script can be used to automate the conda installation process.

There is no support for 32 bit operating systems, older Linux (CentOS 7 era), older macOS platforms (macOSX Big Sur and earlier), or any version of Windows (including using WSL). More details can be found on the Platform Support page.



Notable changes and improvements in CIAO 4.17

CIAO 4.17 includes several important bug fixes and includes updates to support newer compilers. There have been enhancements to Sherpa and updates to Off The Shelf (OTS) packages like SAOImage DS9.

  • CIAO is now only available with Python 3.11. It can be installed manually using a conda package manager with the https://cxc.cfa.harvard.edu/conda/ciao and conda-forge channels or automated by using the ciao-install script.

  • Several tools have been updated including important bug fixes and enhancements such as:

    • [New]collect_chandra_dois script can be used to quickly generate a list of DOI's obtained from a list of files and directories.
      % collect_chandra_dois ic342
      [########################################] 236/236 100.0% Completed
      Archival ObsID: 02916, 02917, 07069, 13686, 22478, 22479, 22480, 22481, 22482
      Warning - These IDs are not DOIs: Merged
      
    • Fix for dmcopy bug affecting the opt=all option that could cause corruption of Good Time Intervals (GTIs), especially when working with gratings datasets that have had time filters applied.
    • csmooth, aconvolve, and others are now using double precision for FFT convolutions improving numeric accuracy in high-dynamic range images.
  • Notable Sherpa changes include:

    • updated XSPEC models to version 12.14.0k, includnig adding the 50 new models in this release;
    • updates and fixes to the plotting code;
    • enhancements when fitting models with linked parameters and the way the guess function works;
    • improved support for fitting 1D data with asymmetric errors;
    • and bug fixes.

    As a reminder, Sherpa is also available as a stand alone system, accessible from the Sherpa GitHub repository or from the standalone Sherpa page.

  • Core CIAO libraries have been updated to
    • Improved multi-mission support by now recognizing the standard DEADC dead time factor keyword used by missions like NuSTAR.
  • There have been several script updates released with CIAO 4.17 including

    • [New] fine_astro script helps to automate the typical steps to apply a fine astrometric registration to Chandra datasets.
    • [New] patch_hrc_ssc script can be used to detect HRC secondary science corruption events that cause an artifical drop in the dead time factors. If detected the script replaces corrupt DTF values with the mean value during good time intervals.
    • [New] mkrprm script computes an approximate aperture correction for radial profiles. The [New]sherpa_contrib.matrix_model can be used to include this aperture correction when fitting the radial profile in sherpa.
    • convert_xspec_user_model has been updated for sherpa 4.17 and updated to use meson-python build backend.
  • CIAO includes version 8.6 of SAOImage ds9.

    [WARNING]
    Warning

    Users are again reminded that they need to change the Edit mode setting in order to select or create regions in ds9. Please see the watchout page for more information on this.

    SAOImageDS9 v8.6 highlights include:

    • [New] Hue Saturation Value (HSV) and Hue Lightness Saturation (HLS) color frames similar to RGB frames. The Creating Energy Hue Maps thread shows examples of using these new frames.
    • Improvements to the internal SAMP hub. New options to disable automatically connecting to SAMP hub and to disable automatically starting SAMP hub.
    • Improved support for nD compressed images/cubes.

How CALDB 4.11.6 Affects Your Analysis

CALDB 4.11.6 Release Notes (release 17 December 2024)

HRC Data


Installation and Setup

Users should be aware of these installation items before installing CIAO 4.17. Additional problems which are seen less frequently are listed on the Installation & Smoke Tests bug page.

Supported Platforms

Install using the ciao-install Installation Script

CIAO 4.17 is only available as a set of conda packages, but the ciao-install script has been re-written to allow users to unfamiliar with conda to automate the installation process using a single, simple command:

$ bash ciao-install

Users can download the ciao-install script from the ciao-install download page. The script has options to include additional segments such as the ACIS and HRC blank sky background CALDB files, the CIAO source code, download for different operating systems, link to existing CALDB installations, and more.

[New]MARX is now included as one of the default packages in CIAO 4.17. To skip installing marx add the

--remove marx

option to the command line.

Installing with the conda package manager

CIAO can be installed using the conda package and environment management system.

The conda release is available from the custom CXC channel and requires using the conda-forge channel.

$ conda create -n ciao-4.17 -c https://cxc.cfa.harvard.edu/conda/ciao -c conda-forge \
ciao pyciao sherpa ds9 marx ciao-contrib caldb_main

See the conda installation instructions for more information, including known problems and incompatibilities. The CXC has had several reports of problems mixing packages from the default and conda-forge channels. If unsure, then use the --override-channels flag to ignore the default channel.

Smoke Tests

CIAO 4.17 no longer uses make to run the CIAO smoke tests. The run_smoke_tests.sh script is now used:

$ ciao
$ cd $ASCDS_INSTALL
$ bash test/smoke/bin/run_smoke_tests.sh

This should be run whether CIAO was installed with ciao-install or conda.

Source builds

The source code for CIAO is provided via the ciao-install script:

$ bash ciao-install --add ciao-src --add sherpa-src

and then it can be built using the ciao_build.sh script

$ ciao
$ cd $ASCDS_INSTALL
$ bash ./ciao_build.sh --prefix `pwd`

(assuming users have setup the ciao alias as suggested).

Remove old parameter files

With every new CIAO release, some parameter files are changed: new parameters may be added and occasionally old ones removed or renamed. Deleting or renaming the local parameter directory ensures that the correct parameter files will be accessed the first time a tool is run:

unix% rm ~/cxcds_param4/*

Tools

acis_process_events

aconvolve

acrosscorr

apowerspectrum

arestore

collect_chandra_dois

csmooth

dmcontour

dmcopy

dmextract

dmgti

dmhistory

dmmakereg

dmtcalc

get_src_region

hrc_process_events

skyfov

tgdetect

vtpdetect

wcs_match

wcs_update


Parameter Files

This section provides a summary of the changes to parameter files in this release. Refer to the Tools and Analysis Scripts sections of these release notes for complete details.

We recommend deleting all the old parameter files or renaming the parameter-file directory before running any new version of CIAO to avoid conflicts. More information is available in the FAQ.


Sherpa

Sherpa is developed as an open project, and is available on GitHub. Comments, fixes, and additions from the community are welcome. There are additional releases for this version throughout the year, and can be installed either directly from GitHub or using the conda package manager, as described on the standalone Sherpa documentation page.

changes


Graphical User Interfaces

Obsvis


Analysis Scripts

There have been several updates to the contributed scripts package since CIAO 4.16 was released. These changes are specific to the CIAO 4.17.0 contributed scripts release.

fine_astro

mkrprm

patch_hrc_ssc

chandra_repro

download_obsid_caldb

sherpa_contrib.matrix_model

ciao_contrib.runtool

sherpa_contrib.notebook_plotter


Python Modules

pytransform


Libraries

datamodel

cxcparam

stklib

pixlib


Environment

Off-the-Shelf (OTS) Package Versions

Compiler versions


Documentation

Many pages have been updated to reflect the changes in this release. Several analysis threads are still under review.