Skip to main content

Check our latest tool upgrades: WebSpec-js and FViewer.

Xspec Home Page

Initializing the Models Library

The external program should always call the FNINIT routine prior to any other call into the models library. This initializes the locations of the various data files needed by the models, and also sets the abundance and cross-section tables. Unless the user has overridden the model ion data directory location with the XSPEC_MDATA_DIR environment variable, the initial settings are:

Model ion data location $HEADAS/../spectral/modelData
Abundance .dat files location $HEADAS/../spectral/manager
Cross-section .dat files location $HEADAS/../spectral/manager
Solar abundance table angr
Photoelectric cross-section table bcmc