Skip to main content

jaxspec is a bayesian spectral fitting library for X-ray astronomy.

Project description

jaxspec

PyPI - Version Python package Read the Docs Codecov Slack

:warning: jaxspec is still in early release: expect bugs, breaking API changes, undocumented features and lack of functionalities

jaxspec is an X-ray spectral fitting library built in pure Python. It can currently load an X-ray spectrum (in the OGIP standard), define a spectral model from the implemented components, and calculate the best parameters using state-of-the-art Bayesian approaches. It is built on top of JAX to provide just-in-time compilation and automatic differentiation of the spectral models, enabling the use of sampling algorithm such as NUTS.

jaxspec is written in pure Python, and has no dependancy to HEASoft, and can be installed directly using the pip command.

Documentation : https://jaxspec.readthedocs.io/en/latest/

Installation

We recommend the users to start from a fresh Python 3.10 conda environment.

conda create -n jaxspec python=3.10
conda activate jaxspec

Once the environment is set up, you can install jaxspec directly from pypi

pip install jaxspec --upgrade

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jaxspec-0.0.8.tar.gz (30.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jaxspec-0.0.8-py3-none-any.whl (30.1 MB view details)

Uploaded Python 3

File details

Details for the file jaxspec-0.0.8.tar.gz.

File metadata

  • Download URL: jaxspec-0.0.8.tar.gz
  • Upload date:
  • Size: 30.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.7 Linux/6.5.0-1024-azure

File hashes

Hashes for jaxspec-0.0.8.tar.gz
Algorithm Hash digest
SHA256 1466d64a1441e7ca2f711f512b77160fb8aa61b140b3daa8eca3af493fa507be
MD5 9435aa156643352f15f84b9311e489f4
BLAKE2b-256 6cc16623f87dbebe8436df2b176307930816d1a42f2e638856fffc2b7494f490

See more details on using hashes here.

File details

Details for the file jaxspec-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: jaxspec-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 30.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.7 Linux/6.5.0-1024-azure

File hashes

Hashes for jaxspec-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 a0d06b2baa6f849ce926dedf32b411e9542ea182f779e973ed0402f7532991c5
MD5 f3d813e8ed8361603805338f7b12654e
BLAKE2b-256 00601a7e1407cdc3c9c0df622e10593977032ff07f839e79e6fdbf40efc284da

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page