Professional Documents
Culture Documents
Introduction to CIAO
(Chandra Interactive Analysis of Observations)
CXC
Antonella Fruscione 20 May 2002
● Provides users with the ability to filter down and project the 4-D
Chandra event data to manageable sizes and convenient array:
all CIAO tools take a ‘filtering and binning’ specification on the
command line, making use of a general purpose ‘regions’ syntax:
“ahelp dm” for information on the Data Model that makes all this
possible.
● To keep track of how the data had been filtered and binned
CIAO relies on the ‘data subspace’. The tools keep track of this sub-
space automatically and allow users to review previous data pro-
cessing: see “ahelp subspace”.
CXC
Antonella Fruscione 20 May 2002
● The modeling and fitting tool Sherpa is central to the CIAO sys-
tem. Sherpa performs forward fitting of models to data in N-dimen-
sions. Sherpa includes the “S-Lang” language which can be used
for scripting and data manipulation. GUIDE links Sherpa results to
the APEC/APED plasma database, enabling the identification of
spectral lines and the use of their properties in further fitting. See
“ahelp sherpa”, “ahelp slang”, “ahelp guide”.
CXC
Antonella Fruscione 20 May 2002
CIAO help!
AHELP
CXC
Antonella Fruscione 20 May 2002
CXC
Antonella Fruscione 20 May 2002
MANUALS
CIAO manuals are currently being written or updated: major
updates for CIAO2.2 were done to the DM (Data Model/Data
Manipulation), Detect, Sherpa and Chips Manuals. A CIAO-SLANG
manual is in progress.
HELPDESK
When everything else fails....
http://cxc.harvard.edu/helpdesk/
CXC
Antonella Fruscione 20 May 2002
What is CIAO?
● Collection of programs (both “atomic”: tools, and “complex”:
applications).
● Generally run from the shell; some part can be run from a GUI.
● Source code is available.
● Available on several platforms; currently supported:
Solaris 2.6 (2.7, 2.8)
Red Hat Linux 6.2, 7.1
Slackware 7.1
SuSE 7.2 (7.x)
Alpha OSF4.0f
CXC
Antonella Fruscione 20 May 2002
● Chandra data is stored in FITS format. IRAF (IMH & QPOE) and
ASCII files can be handled by many tools.
● Stores processing state/information along with data (keywords,
subspace).
● A single file can contain multiple “datasets” (e.g. GTI, weight
map, regions) stored in “blocks”.
● Blocks can contain image or table data. Table columns can be
vectors.
● Use dmlist or prism to view file contents.
Parameter Files
Parameters:
CXC
Antonella Fruscione 20 May 2002
● GTIs (Good Time Intervals) are used to define what times periods
of the observation can be used (i.e. contain valid data). They are
generally stored as a block in the event list.
● Subspace records the filters applied to a file; dmlist can read this
history using opt=subspace.
CXC
Antonella Fruscione 20 May 2002
CIAO overview
Datamodel:copy, filter, extraction, stats,...
Chandra Specific Instrument tools: update calibration, correct
for instrumental effects, find & extract grating data, create
aspect histograms
Response tools: exposure map, PSF, RMF and ARF
Source Detection: celldetect, wavdetect, vtpdetect
Timing & Background tools: lightcurve, axbary, get_src_region
Convolutions, Transforms, & Smoothing: csmooth, aconvolve,
acrosscorr, apowerspectrum
Plotting: (*) ChIPS
Modeling/Fitting: (*) Sherpa
Spectral Line Identification: GUIDE, ISIS
CXC
Antonella Fruscione 20 May 2002
CXC
Antonella Fruscione 20 May 2002
FORMAT INDEPENDENT
CXC
Antonella Fruscione 20 May 2002
dmextract: make a histogram table file (e.g. PHA file) from a table
column. Generate count histogram on supplied regions for a spa-
tial table or image file.
CXC
Antonella Fruscione 20 May 2002
filename[block][filter][columns/binning][options][rename]
where:
CXC
Antonella Fruscione 20 May 2002
Note that:
● the order of the qualifiers generally matters, however...
● not all qualifiers need to be present always
CXC
Antonella Fruscione 20 May 2002
or by name:
acisf01843N001_evt2.fits[EVENTS][grade=0,2,3][cols time,ccd_id,node_id]
CXC
Antonella Fruscione 20 May 2002
block: [EVENTS]
filter: [time=84245787:84247000]
[grade=0,2,3]
[sky=region(mysource.reg)]
[pha<1000]
columns/binning:
[cols time,ccd_id,node_id]
[cols #1,#2,#3]
[bin pi=1:1024:1]
[bin x=320:480:4,y=320:480:4]
CXC
Right ascension
0.00
30 0
.00 0.0
33
89.96
0
60
0.0
.00
30
89.98
Declination
270.00
90.00
90.00
24
0
0.0
0.0
12
0
0 21
0.0
0.0 0
15
lY`:sot?i_ h>\~p}J||m{rp}J||{Xnzgt?i_
M33
~\p}J||m{r}pJ||{nXzt?i_ xcsvDp}J|*m| JnT|2|Jm| n2\}L>zjiY`st
J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A*ftmj /q2u+b+qCjh l Rr\ :8*>c;@?*2l>*X
`&-~pRq/_hRw*+-maq<;:9*-180w5*-mq -mtqt\Zn -~+7tu_l7w+Zkm0w6*-mzqon/mRl/jih"fet5430-210././-,Rw+*-mRq` l0+mj_8q2YX
kmSlCj fh 2lvb8m1=7rm
`&-~pRq/_hRw*+-maq<;:9*-180w5*-mq -mtqt\Zn -~+7tu_l7w+Zkm0w6*-mzqon/mRl/jih"fet5430-210././-,Rw+*-mRq` _^R]\t8Z2YX
Vt >4 %19 K !H; I ; I P1k(E
NM_4H.0,( k(0E* )
T ?<;= H=, * -,+*) I ( .<G,> I O*(34t* 9 I > 934 IG 9[394
('& % (NM4 ( I ; -,+*) ( ' FVP1(NMR4/(J.394 2=H(!$>? ( 1 * I -,+*) I H=-,*
I %1794S2)3(R4<(=A4CP,(:21(#"&>=H(NM4 %19 K !H; =-,* NM4J<.,P( 8(0E* &4<;5
( ( T@?> I aB21k(UE* I > I <>M %V( t'*Rt4*=
"&$ J_#$ _ J# J# +