ThComp model - installation and usage:

I) XSPEC version

1) Download the ThComp model.

2) Copy thcomp_xspec.tar.gz to <PATH>, where <PATH> is an arbitrary location and then:

3) Compile the model:

4) Load the model: lmod thcomp <PATH>

5) This is a convolution model; usage: mo thcomp*<xspec model>, where <xspec model> is an anbitrary additive XSPEC model.

6) Model input parameters:

7) For the proper work of the model, an extension of the energy range beyond that included in data is needed, e.g., by using the command: energies 0.1 1000.0 1000 log

8) When Gamma/tau parametrization is used, tau/Gamma value can be displayed with: 'XSPEC>chatter 15 15'

II) UNIX shell version

1) Download the ThComp program.

2) Copy thcomp.tar.gz to <PATH>, where <PATH> is an arbitrary location and then:

3) Compile the model:

4) Generate arbitrary input SEED spectra using XSPEC:

5) Run ThComp, using the run_th.sh script: ./run_th.sh <tau> <kTe> <z> <seed_file.dat>, where:

6) The output file th_tau<tau>_kTe<kTe>_<z>_<seed_file.dat> should appear.

7) Output energy array parameters can be set in run_th.sh file.

Additional information can be found in:

Questions: mitsza@camk.edu.pl