|
|
|
Matching CIAO and CALDB VersionsCIAO 4.1 requires CALDB 4.1 to operate properly. CALDB 4.1 should not be used unless you are running CIAO 4.1. Are your versions mismatched? Update CIAO and CALDB! 03 Nov 2009 A new version of the Contributed Scripts and Modules tarfile has been released; download the updated package from the Scripts page. 02 Oct 2009 CIAO 4.1.2 is not officially supported on the Mac OS X 10.6 (Snow Leopard) platform, but there is a workaround for installing the software in the Unsupported Platforms section of the Platforms page 17 Sep 2009 CALDB has been updated to v4.1.4. Information on the release is available from the CALDB 4.1.4 Release Notes and How CALDB 4.1.4 Affects Your Analysis. |
Welcome to CIAOThe remarkable science capabilities of the Chandra X-ray Observatory demanded new, flexible, multi-dimensional software to analyze the data it returned. The result is CIAO, a system that has proven itself useful for the analysis of data from other, non-X-ray missions, because of the mission independence that is the basis of the CIAO design. There are CIAO Software downloads available for several platforms. The Introduction to Tools and Applications page describes the classes of tools and gives links to the tool help files. The Release Notes have detailed information regarding the most recent version of CIAO and any patches, including new tool descriptions and bug fixes. The Data Caveats page gives warnings for specific data sets. For information regarding calibration and how CIAO uses cal information, try visiting the CALDB page. You may also find the Chandra Instruments and Calibration page useful. High resolution spectroscopy using the Chandra gratings requires a greater amount of atomic physics knowledge than previous X-ray astronomy has done. The CXC has therefore supported the creation of a new atomic physics database, APED. The following is a simple example of how CIAO works. This set of commands creates an energy spectrum for a region of an event file. The data is from the ObsID 214 dataset (an ACIS-S observation of supernova remnant Cassiopeia A), which was downloaded from the Archive. This example uses the Python interface to ChIPS and Sherpa. We begin by loading the event file into the image viewer, ds9. unix% ds9 acisf00214N002_evt2.fits & Then we select regions to contain most of the source emission, shown in green on the image below. The resulting region file (obj.reg) looks like: unix% more obj.reg # Region file format: CIAO version 1.0 circle(3818,3980,408) circle(3436,4150,100)
The dmextract tool can be used to create a spectrum for the source by binning the events which fall within the regions: unix% punlearn dmextract unix% dmextract "acisf00214N002_evt2.fits[(x,y)=region(obj.reg)][bin pi]" spectrum.fits The PI spectrum can now be plotted and examined using ChIPS, the CIAO plotting tool: unix% chips ----------------------------------------- Welcome to ChIPS: CXC's Plotting Package ----------------------------------------- CIAO 4.1.1 Wednesday, January 14, 2009 chips> make_figure("spectrum.fits[cols channel,counts]") Which produces the plot shown. The prism file browser can also be used to select data to plot using ChIPS.
chips> quit This spectrum may also be used as input to Sherpa, the CIAO modeling and fitting tool, and analyzed further: unix% sherpa ----------------------------------------------------- Welcome to Sherpa: CXC's Modeling and Fitting Package ----------------------------------------------------- CIAO 4.1.1 Wednesday, January 14, 2009 sherpa> load_pha("spectrum.fits") sherpa> plot_data() sherpa> ignore(250,) sherpa> plot_data This filtering shows the detail of the spectrum in the plot below. Analysis of greater depth, such as fitting a source model, may be done in Sherpa once the necessary response files have been created.
sherpa> quit The CIAO Threads page contains more examples of frequently used data analysis procedures. |
![]() |
The Chandra X-Ray
Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA. Email: cxcweb@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2004. All rights reserved. |