Skip to main content

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

Project description

Logo

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.1.3.tar.gz (46.2 kB view details)

Uploaded Source

Built Distribution

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

jaxspec-0.1.3-py3-none-any.whl (53.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jaxspec-0.1.3.tar.gz
  • Upload date:
  • Size: 46.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.7 Linux/6.8.0-1014-azure

File hashes

Hashes for jaxspec-0.1.3.tar.gz
Algorithm Hash digest
SHA256 84e26f36943fb5e28454c038296d4e2bb36d7e8606f1c931b2d12139b836a54e
MD5 449cfbd86b6fe9d770f7d757efd2e934
BLAKE2b-256 7a3a98e136ac84bad63e8a776e2c17d8ee69b99813cd80bf411a5b9b41e92299

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jaxspec-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 53.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.7 Linux/6.8.0-1014-azure

File hashes

Hashes for jaxspec-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e131124c8ff17d6adfb00923eef321b0f6cad36f02d6a7b041774a92b0264bf1
MD5 bce70ef8546c71dc2c6e969898c2bc60
BLAKE2b-256 15037ea26d85dfca8a79f6046373a0854573fe3c6b70c431cb897cfb3a644b7e

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