SPEX Reference Manual

Jelle Kaastra

Rolf Mewe, Ton Raassen & Jelle de Plaa


Version 3.05.00

December 19, 2018

Recent changes to the manual
Recent changes to the manual
1 Introduction
 1.1 General description
 1.2 History
 1.3 SPEXACT: The SPEX Atomic Code & Tables
 1.4 Changes introduced in SPEX 3.0
 1.5 Document structure
 1.6 Additional information and documents
2 Spectral Fitting
 2.1 Spectral Modelling
 2.2 Sectors and regions
 2.3 Different types of spectral components
3 Syntax overview
 3.1 Introduction
 3.2 Abundance: standard abundances
 3.3 Ascdump: ascii output of plasma properties
 3.4 Bin: rebin the spectrum
 3.5 Calculate: evaluate the spectrum
 3.6 Comp: create, delete and relate spectral components
 3.7 Data: read response file and spectrum
 3.8 DEM: differential emission measure analysis
 3.9 Distance: set the source distance
 3.10 Egrid: define model energy grids
 3.11 Elim: set flux energy limits
 3.12 Error: Calculate the errors of the fitted parameters
 3.13 Fit: spectral fitting
 3.14 Ibal: set type of ionisation balance
 3.15 Ignore: ignoring part of the spectrum
 3.16 Ion: select ions for the plasma models
 3.17 Log: Making and using command files
 3.18 Menu: Menu settings
 3.19 Model: show the current spectral model
 3.20 Multiply: scaling of the response matrix
 3.21 Obin: optimal rebinning of the data
 3.22 Par: Input and output of model parameters
 3.23 Plot: Plotting data and models
 3.24 Quit: finish the program
 3.25 Sector: creating, copying and deleting of a sector
 3.26 Shiftplot: shift the plotted spectrum for display purposes
 3.27 Simulate: Simulation of data
 3.28 Step: Grid search for spectral fits
 3.29 Syserr: systematic errors
 3.30 System: call system executables
 3.31 Use: reuse part of the spectrum
 3.32 Var: various settings for the plasma models
 3.33 Vbin: variable rebinning of the data
 3.34 Watch
4 Spectral Models
 4.1 Overview of spectral components
 4.2 Absm: Morrison & McCammon absorption model
 4.3 Amol: oxygen edge molecules absorption model
 4.4 Bb: blackbody model
 4.5 Cf: isobaric cooling flow differential emission measure model
 4.6 Cie: collisional ionisation equilibrium model
 4.7 Comt: comptonisation model
 4.8 CX: model for charge exchange plasmas
 4.9 Dabs: dust absorption model
 4.10 Dbb: disk blackbody model
 4.11 Delt: delta line model
 4.12 Dem: differential emission measure model
 4.13 Dust: dust scattering model
 4.14 Ebv: Galactic interstellar extinction model
 4.15 Etau: simple transmission model
 4.16 Euve: EUVE absorption model
 4.17 File: model read from a file
 4.18 Gaus: gaussian line model
 4.19 Hot: collisional ionisation equilibrium absorption model
 4.20 Hyd: model with user-own hydrodynamical simulation
 4.21 Knak: segmented power law transmission model
 4.22 Laor: relativistic line broadening model
 4.23 Line: transmission model for a single spectral line
 4.24 Lpro: spatial broadening model
 4.25 Mbb: modified blackbody model
 4.26 Musr: User defined multiplicative model
 4.27 Neij: non-equilibrium ionisation jump model
 4.28 Pdem: DEM models
 4.29 Pion: SPEX photoionised plasma model
 4.30 Pow: power law model
 4.31 Reds: redshift model
 4.32 Refl: reflection model
 4.33 Rrc: radiative recombination continuum model
 4.34 Slab: thin slab absorption model
 4.35 Spln: spline continuum model
 4.36 User: User defined model
 4.37 Vblo: rectangular velocity broadening model
 4.38 Vgau: gaussian velocity broadening model
 4.39 Vpro: velocity profile broadening model
 4.40 Warm: continuous photoionised absorption model
 4.41 Wdem: power law differential emission measure model
 4.42 Xabs: photoionised absorption model
5 More about spectral models
 5.1 Plasma model in SPEX 3.0
 5.2 Absorption models
 5.3 Atomic database for the absorbers
 5.4 Non-equilibrium ionisation (NEI) calculations
 5.5 Non-thermal electron distributions
 5.6 Supernova remnant (SNR) models
6 More about plotting
 6.1 Plot devices
 6.2 Plot types
 6.3 Plot colours
 6.4 Plot line types
 6.5 Plot text
 6.6 Plot captions
 6.7 Plot symbols
 6.8 Plot axis units and scales
7 Auxilary programs
 7.1 Trafo
 7.2 Xabsinput
 7.3 RGS_fluxcombine
 7.4 RGS_fmat
 7.5 Hydro_driver
 7.6 Rgsvprof
 7.7 Stepcontour
8 Response matrices
 8.1 Optimal definition of respons matrices
 8.2 Proposed file formats
9 Installation
 9.1 Binary installation
 9.2 Source code install
10 Acknowledgements