XSTAR2XSPEC

To facilitate using XSTAR with actual data, XSTAR2XSPEC was developed. XSTAR2XSPEC is a perl script which calls XSTAR multiple times and generates table models from the results of these simulations which can then be utilized for model fitting in the XSPEC spectral fitting program. XSTAR2XSPEC also generates a log file which is a concatenation of all the xout_step.log files from all the XSTAR runs. This is a convenient way of generating a grid of models for other purposes, such as studying the dependence of line strengths on various input parameters, or exploring the full dependence of the heating and cooling rates on temperature and ionization parameter. This last problem is illustrated in the examples section of this chapter.



Subsections