Revisions

New in version 2.02: inclusion of continua, both in emission and absorption. Equivalent widths are not calculated, and quantities analogous to the transition probability and oscillator strength are not output. Also, the upper level, which may not be the ground level of the adjacent ion, is not identified.

New in version 2.03: Fix to error in normalization of voigt profile.

New in version 2.04: Rational and uniform level labels for all levels. These should now be unambiguous. A description is contained in the xstar manual. Also, the interface with the commonprint common block has been updated. There is now a (string) variable whiche denotes whether a transition is a line or rrc/edge. Upper levels for rrc/edges are denoted 'continuum' for the ground state of the next ion, or by the appropriate level string when the upper level is not the ground state.

New in version 2.06: Consistency with xstar version 221bn. Includes up to date r-matrix atomic data for Ni and Al. Also includes model 'scatemis', which allows calculation of emission models for continuum photoexcitation dominated plasmas (optically thin).

New in version 2.07: Contents of the common block are output to fits files. A new file is created with each call to warmabs or photemis, with names like 'warmabsxxxx.fits', where xxxx is a sequential number, mod 9999. In order to implement this feature, the fphotems.f file must be edited: calls to the routine 'fitsprint' must be uncommented.

New in version 2.07b: Fixed minor errors in lmodel.dat. Shifted O I and O II L alpha to match observations.

New in version 2.09: Made consistent with xstar v221bn15. New N VI collisional excitation data.

New in version 2.10: Made consistent with xstar v221bn17. Changes to naming of output fits file suggested by John Houck: if the WARMABS_OUTFILE environment variable is set, then this name is used for the output fits file. Also checks to make sure that the pops.fits file was created with the same atomic database as the current one, and exits if not.

New in version 2.11: O I absorption cross sections from Gorczyca et al. (2013). Fine structure for H-like ions for Z$>$20. Multiple errors fixed 10/08/2013.

New in version 2.12: Ne I absorption cross sections from Gorczyca et al. (2013). Fine structure for all H-like ions.

New in version 2.13: Mg I-III absorption cross sections from Gorczyca et al. (2013). New input parameters for warmabs, photemis, hotabs, hotemis: write_outfile is a switch controlling output of line depths/luminosities to an ascii fits file: 0=no fits files produced, 1=fits file containing lines/edges is produced, 2=fits file containing ion column densities is produced, 3=both types of fits files are produced. outfile_idx is an integer index. If the environment WARMABS_OUTPUT is not set, then the output is written to a fits file names 'warmabsxxxx.fits', where xxxx is the value of this variable. If WARMABS_OUTPUT is set, then its value is used as the name of the output file. Use of xstar v221bn18 routines: update to fundamental constants, adding thermal and turbulent velocities in quadrature consistently.

New in version 2.14: extrapolation of all valence shell cross sections beyond tabulated values. This is a temporary fix to the problem of apparent 'negative edges' which appear at large column density in absorption spectra. Needed are extensions to the tabulated cross sections to higher energies.

New in version 2.15: Undid extrapolation of all valence shell cross sections beyond tabulated values because this led to spurious cross sections in some cases (He0 ground -> He+ 2p). Instead manually inserted extrapolated He0 ground -> He+ ground cross section into atomic data. Implemented cosmic abundances gotten from xspec internal tables. These can be changed using the 'abund' command, as described in the xspec manual.

New in version 2.17: when the 'write_outfile' parameter value is nonzero an additional file is produces, called warmabs_columns. This file contains the column densities of all ions from the most recent model call.

New in version 2.18: Fixed bug which affected output to the fits output files for photemis.

New in version 2.19: Fixed additional bug which affected output to the fits output files for photemis. This resulted in unphysical small wavelengths tabulated in the file for various lines, and also caused the wavelengths to change between successive calls. Also changed the use of the write_outfile variable such that the values are as follows: 0=no fits files produced, 1=fits file containing lines/edges is produced, 2=fits file containing ion column densities is produced, 3=both types of fits files are produced. Also increased the critical luminosity needed for photemis to add line emision to the spectrum, in order to speed execution.

New in version 2.20: Fixed error in Si XIV energy levels which was introduced when putting fine structure.

New in version 2.21: Added fine structure of He-like ions of C-Ni.

New in version 2.22: Added list of level indeces and ion index to the fits table output. These indeces are unlikely to change over time as new atomic data is added, so this should provide a robust way to keep track of lines and rrcs.

New in version 2.23: Removed duplications of atomic data: rrcs in Ni IX - XV and of lines in Na X and F VIII.

New in version 2.24: Changes to xstar code corresponding to xstar v2.2.1bn24.

New in version 2.25: Fix to error which led to incorrect emission in the Fe UTA.

New in version 2.26: Compatibility with xstar version 2.3. Extend photoionization extrapolation from 20 keV to 200 keV.

New in version 2.27: Compatibility with xstar version 2.31.

New in version 2.29: Compatibility with xstar version 2.38.

New in version 2.30: Fixed errors in binemis which resulted in natural width not being applied to emission line profiles.

New in version 2.32: Fortran 90. Plus the stored model results are used for a first pass which selects only lines and rrcs (both in emission and absorption) which are strong. Then only the selected ones are calculated and binned in the synthetic spectrum. The criterion for strength is that they be in the top n in strength in the continuum bin where they peak. Currently n is set to 10. It is configurable using the 'nrank' variable in the parameter file PARAMX. A tradeoff is that full xstar outputs are needed, not just level populations. These occupy more disk space; the directory is currently 2.7Gb, about an 8-fold increase from previous versions. A consequence is that the stored files from xstar runs have fixed names. The WARMABS_POP environment variable is no longer needed or used. The user must run xstar and put all the output files named xo.fits into the directory indicated by the WARMABS_DATA environment variable.

New in version 2.34: Various fixes to photemis and windabs.

New in version 2.35: Changes to fortran syntax to reduce warnings when compiled with -Wall and -pedantic. Also reduced the size of the array zrtmpcol.

New in version 2.37: Fix to normalization error in fphotemis continuum normalization.

New in version 2.42: Fix to a bug due to the fact that the 'status' variable was not initialized prior to the first call in version 2.41. Adopt dynamic memory allocation for many variables.

New in version 2.43. Modifications so that it will compile using new compiler options adopted by xspec.

New in version 2.44. Fixed bug which prevented redshift from working when the write_outfile switch was not set.

New in version 2.45 and 2.46. Removed the windabs model, owing to challenges with maintaining and documenting legacy code. Removed the scatemis model since xstar now includes the option of including continuum photoexcitation when creating the xo01detail.fits etc. files used by warmabs.

New in version 2.47. Streamlined code which maps parameter values passed from xspec into physical parameters used by the fopac subroutine. Also fixed bug which led to extra logical unit numbers being allocated and never released.