Skip to main content

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

Project description

jaxspec

Read the Docs Python package 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.3.tar.gz (102.9 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.3-py3-none-any.whl (102.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jaxspec-0.0.3.tar.gz
  • Upload date:
  • Size: 102.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.8.3 Darwin/23.4.0

File hashes

Hashes for jaxspec-0.0.3.tar.gz
Algorithm Hash digest
SHA256 c2e720d323f00132c2c0477c6bd8b9a8c8f426c70c65b0bafdeb55dd00713e25
MD5 7dd8dc1afc344ffaadc78cf64684795e
BLAKE2b-256 6a85ef616bfc6c8ab37fb21160556fd9542dea21abe6b15692c27aa0af52464d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jaxspec-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 102.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.8.3 Darwin/23.4.0

File hashes

Hashes for jaxspec-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 aab29c860ace834209525da2af4dc28410ff06ce3bbf5c8afb5d78e8128d50d9
MD5 2ed0976e2c9a47a0294e328aa2e4b7f2
BLAKE2b-256 a588249aa72a65b9e4dab1f0b595378cde73d871e918d55fb8b54dc495e4a55a

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