Skip to content

v0.1.1

Latest
Compare
Choose a tag to compare
@fjebaker fjebaker released this 25 Nov 22:22
· 10 commits to main since this release

What's changed

  • Added KLINE_PROF_DATA_DIR environment variable to point to the data directory containing the table model FITS file (#5)
  • Fixed NaN bug (#6)

Known bugs

  • Emissivities of zero in kline5 and kconv5 throw errors (#1)

Usage

To use the model, download from the release binaries below a .zip file corresponding to the arch/OS that you are running XSPEC in. Note this does not always align with your machine directly, for example, running XSPEC in a Docker container on an M1 Mac needs aarch64-linux-gnu, not aarch64-macos-none.

  • A pre-computed transfer function table is also needed. At time of writing, the release with the latest table model is v0.1.0, which is a table for the Kerr metric with $a \in [-0.998, 0.998]$ and $\theta_\text{obs} \in [ 0^{\circ}, 90^{\circ} ]$.

Unzip the directory and data. If the data is not in the XSPEC fitting CWD, use the environment variable KLINE_PROF_DATA_DIR to point to the directory containing the table model.

Within XSPEC, navigate to the unzipped binary directory to build and load the model:

    XSPEC> hmake
    XSPEC> lmod klineprofiles .
    XSPEC> model kline

Models and model parameters are documented in the README.

Full Changelog: v0.1.0...v0.1.1