Chandra X-Ray Observatory
	(CXC)
Skip to the navigation links
Last modified: 6 Dec 2016

URL: http://cxc.harvard.edu/sherpa/threads/gettingstarted/

Obtaining data used in Sherpa threads

Sherpa Threads (CIAO 4.9 Sherpa v1)


Overview

Synopsis:

This thread lists instructions for obtaining the data used in each of the Sherpa thread examples.

Last Update: 6 Dec 2016 - reviewed for CIAO 4.9: Sherpa start-up banner updated


Getting Started

All the data used in the Sherpa threads are available in sherpa.tar.gz (243 MB tarred & gzipped). Download and unpack this file before continuing.

Move to the directory that contains the thread data:

unix% cd /localpath/sherpa
unix% ls -1
2dpsf
aciss_grating_sim
aciss_sim
basic
confidence_manual
expmap
fakeit
grating
grating_hrcsletg
guide
lines_acishetg
lines_acisletg
manual_source
pha_intro
pha_regroup
pileup
plot
pyblocxs
setplot_manual
simspec
simultaneous
sourceandbg
spatial
spectra
user_model

Locate and move into the sub-directory for your specific thread and start a Sherpa session; e.g. for the Introduction to Fitting PHA Spectra thread:

unix% cd pha_intro
unix% sherpa
-----------------------------------------------------
Welcome to Sherpa: CXC's Modeling and Fitting Package
-----------------------------------------------------
CIAO 4.9 Sherpa version 1 Friday, December 2, 2016

sherpa> pwd
/localpath/sherpa/pha_intro

The contents of this directory may be examined with the Unix command ls:

sherpa> ls
3c273.arf       3c273.rmf       
3c273.pi        3c273_bg.pi

To view the contents of an ASCII file from within Sherpa, the Unix command more may be used; e.g.,:

sherpa> !more /localpath/sherpa/basic/data1.dat
0.5    1.6454   0.04114
1.5    1.7236   0.04114
2.5    1.9472   0.04114
3.5    2.2348   0.04114
4.5    2.6187   0.04114
5.5    2.8642   0.04114
6.5    3.1263   0.04114
7.5    3.2073   0.04114
8.5    3.2852   0.04114
9.5    3.3092   0.04114
10.5   3.4496   0.04114

Note that Unix commands issued in Sherpa must be preceded by the '!' symbol, except for cd, ls, and pwd.


History

14 Jan 2005 reviewed for CIAO 3.2: no changes
07 Jul 2005 updated tarfile information
21 Dec 2005 reviewed for CIAO 3.3: no changes
09 Feb 2006 updated tarfile information
01 Dec 2006 updated for CIAO 3.4: Sherpa version
09 Dec 2008 updated for Sherpa 4.1
17 Dec 2009 updated for CIAO 4.2; contents of sherpa.tar.gz updated
13 Jul 2010 contents of tarfile updated for CIAO 4.2 Sherpa v2
15 Dec 2010 Sherpa start-up banner updated for CIAO 4.3
15 Dec 2011 reviewed for CIAO 4.4: Sherpa start-up banner updated; new 'pyblocxs' directory added to Sherpa thread data tarfile
13 Dec 2012 reviewed for CIAO 4.5: Sherpa start-up banner updated
03 Dec 2013 reviewed for CIAO 4.6: Sherpa start-up banner updated
25 Mar 2015 reviewed for CIAO 4.7: Sherpa start-up banner updated
14 Dec 2015 updated for CIAO 4.8; no content change.
06 Dec 2016 reviewed for CIAO 4.9: Sherpa start-up banner updated


Last modified: 6 Dec 2016
Smithsonian Institute Smithsonian Institute

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email:   cxchelp@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2017. All rights reserved.