SPEX Cookbook

SPEX Cookbook

J. de Plaa, J. Ebrero, Y. Grange, C. Pinto, J. Kaastra, K. Steenbrugge, L. Gu, M. Mehdipour

January 29, 2016

_______________________________________________________________________________________

_______________________________________________________________________________________

Contents
1 How to run SPEX
 1.1 The SPEX data format
 1.2 Loading spectra into SPEX
 1.3 Plotting the data
 1.4 Ignoring and rebinning
 1.5 Defining a model
 1.6 Fitting the data
 1.7 Calculating errors
 1.8 Making life easier…
 1.9 Saving your work
 1.10 Quitting the program
 1.11 Tips & Tricks
 1.12 References
2 How to run trafo
 2.1 Input files
 2.2 Running the program
 2.3 Scripting
 2.4 Special situations
3 Combining RGS spectra using rgsfluxcombine and rgsfmat
 3.1 Goal
 3.2 SPEX solution
 3.3 References
4 Modeling absorption spectra
 4.1 Goal
 4.2 SPEX solution
5 Fitting RGS spectra of a group of galaxies
 5.1 Goal
 5.2 SPEX solution
6 Sectors in AGN spectroscopy
 6.1 Goal
 6.2 Creating sectors
 6.3 Running SPEX
7 High-energy exponential cut-off power-law in SPEX
8 Modeling particle background
 8.1 Goal
 8.2 SPEX solution
9 User model
 9.1 Goal
 9.2 SPEX solution
10 Calling SPEX from Fortran
 10.1 Goal
 10.2 Solution