Installation

The procedure for setting up and using this model is as described in the xspec manual:

0) You need to have the heasoft package installed on your machine, but it must be built from source. Local models cannot be installed from a binary installation.

1) untar this directory somewhere in your user area

2) setup your headas environment (eg. 'setenv HEADAS /path/to/architecture', and 'source $HEADAS/headas-init.csh')

3) point the WARMABS_DATA enviroment variable to the directory where the warmabs data files atdbwarmabs.fits, coheatwarmabs.dat and pops.fits are kept (eg, 'setenv WARMABS_DATA $PWD').

4) Start up xspec, and in response to the prompt type 'initpackage xstarmod lmodel_warmabs.dat <path-to-current-directory>', where <path-to-current-directory> is the full path of the current directory and can be the dot ('.'). Then, after the build is complete type 'lmod xstarmod <path-to-current-directory>' In subsequent sessions you don't neet to do the initpackage step again, just the lmod.