Introduction
The chspec package includes multiple models for calculating photon spectrum for different temperature distributions that can be loaded in XSPEC spectral fitting package. At present it includes two models:
chisoth : Emission from isothermal plasmachgausdem : Emission from Gaussian distribution of Differential Emission MeasureThese models calculate the synthetic photon spectrum from a spectral library, generated by using the atomic database package CHIANTI. The pre-calculated spectra over grid of temperatures is stored in a FITS file.
unzip chspec-main.zip
conda activate xspec
which xspec
echo $HEADAS
returns:
/home/solararies/softwares/heasoft-6.34/x86_64-pc-linux-gnu-libc2.31
✅ means that HEASoft is already initialized correctly in your current shell session. You're good to go for compiling and using XSPEC models like chspec.