astro-elisa

Efficient library for spectral analysis in high-energy astrophysics.

https://github.com/wcxve/elisa

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (18.5%) to scientific vocabulary

Keywords

astronomy astrophysics elisa gamma-ray jax numpyro python spectral-analysis x-ray
Last synced: 6 months ago · JSON representation ·

Repository

Efficient library for spectral analysis in high-energy astrophysics.

Basic Info
Statistics
  • Stars: 17
  • Watchers: 1
  • Forks: 4
  • Open Issues: 21
  • Releases: 20
Topics
astronomy astrophysics elisa gamma-ray jax numpyro python spectral-analysis x-ray
Created over 2 years ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License Code of conduct Citation

README.md

ELISA: Efficient Library for Spectral Analysis in High-Energy Astrophysics

PyPI - Python Version PyPI - Version License: GPL v3
Coverage Status Documentation Status

ELISA aims to provide a modern and efficient tool to explore and analyze the spectral data. It is designed to be user-friendly and flexible. The key features of ELISA include:

  • Ease of Use: Simple and intuitive interfaces
  • Robustness: Utilizing the state-of-the-art algorithm to fit, test, and compare models
  • Performance: Efficient computation backend based on JAX
  • ...

NOTE: ELISA is currently under active development. Please be aware of potential brittleness, bugs, and changes to the API as the design evolves.


Table of Contents

Installation

Stable Version

It is recommended to install ELISA in a new conda environment as follows:

  1. Create a new conda environment. The following command creates a new environment named "elisa" with Python 3.11:

    console conda create -n elisa python=3.11

Note that you can customize the environment name to your preference, and the Python version should range from 3.10 to 3.13.

  1. Activate the environment we just created:

    console conda activate elisa

  2. Install ELISA using pip:

    console pip install astro-elisa

Use XSPEC Models

If you want to use models from XSPEC, make sure HEASoft and XSPEC v12.12.1+ are installed on your system, and the HEASoft environment is initialized, then use the following command to install xspex:

console pip install xspex

For more details, see the corresponding API docs.

Development Version

The latest version of ELISA can be installed by the following command:

console pip install -U git+https://github.com/wcxve/elisa.git

Documentation

Read the documentation at: https://astro-elisa.readthedocs.io

License

ELISA is distributed under the terms of the GPL-3.0 license.

Owner

  • Name: W.-C. Xue
  • Login: wcxve
  • Kind: user
  • Company: Institute of High Energy Physics

Ph. D. student of High Energy Astrophysics

Citation (CITATION.bib)

@misc{ELISA,
  author = {Wang-Chen Xue and Sheng-Lun Xie and Chao Zheng and Shao-Lin Xiong and Xiao-Bo Li and Yong Chen and Peng Zhang and Yan-Qiu Zhang and Jia-Cong Liu and Chen-Wei Wang and Wen-Jun Tan and Yue Wang and Jin-Peng Zhang and Zheng-Hang Yu},
  title = {ELISA: Efficient Library for Spectral Analysis in High-Energy Astrophysics},
  year = 2023,
  url = {https://github.com/wcxve/elisa},
  version = {v0.2.1},
}

GitHub Events

Total
  • Create event: 105
  • Release event: 5
  • Issues event: 16
  • Watch event: 6
  • Delete event: 101
  • Issue comment event: 148
  • Push event: 409
  • Pull request review comment event: 116
  • Pull request review event: 120
  • Pull request event: 213
  • Fork event: 1
Last Year
  • Create event: 105
  • Release event: 5
  • Issues event: 16
  • Watch event: 6
  • Delete event: 101
  • Issue comment event: 148
  • Push event: 409
  • Pull request review comment event: 116
  • Pull request review event: 120
  • Pull request event: 213
  • Fork event: 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 24
  • Total pull requests: 220
  • Average time to close issues: 4 months
  • Average time to close pull requests: 3 days
  • Total issue authors: 4
  • Total pull request authors: 5
  • Average comments per issue: 0.21
  • Average comments per pull request: 0.62
  • Merged pull requests: 162
  • Bot issues: 1
  • Bot pull requests: 99
Past Year
  • Issues: 11
  • Pull requests: 132
  • Average time to close issues: 22 days
  • Average time to close pull requests: 1 day
  • Issue authors: 4
  • Pull request authors: 5
  • Average comments per issue: 0.27
  • Average comments per pull request: 1.01
  • Merged pull requests: 96
  • Bot issues: 1
  • Bot pull requests: 70
Top Authors
Issue Authors
  • wcxve (21)
  • TutuchanXD (1)
  • xiesl97 (1)
  • pre-commit-ci[bot] (1)
Pull Request Authors
  • wcxve (90)
  • pre-commit-ci[bot] (61)
  • dependabot[bot] (37)
  • xiesl97 (31)
  • coderabbitai[bot] (1)
Top Labels
Issue Labels
enhancement (3) python (2) bug (1)
Pull Request Labels
dependencies (37) python (29) github_actions (9) enhancement (3) bug (1) refactor (1) documentation (1)

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 41 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 23
  • Total maintainers: 1
pypi.org: astro-elisa

Efficient library for spectral analysis in high-energy astrophysics.

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 29 Last month
Rankings
Dependent packages count: 10.3%
Average: 34.2%
Dependent repos count: 58.0%
Maintainers (1)
Last synced: 6 months ago
pypi.org: elisa-lib

Efficient library for spectral analysis in high-energy astrophysics.

  • Versions: 16
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 12 Last month
Rankings
Dependent packages count: 10.0%
Forks count: 29.8%
Stargazers count: 31.9%
Average: 34.8%
Dependent repos count: 67.6%
Maintainers (1)
Last synced: 6 months ago

Dependencies

pyproject.toml pypi
  • arviz >=0.15.1
  • astropy >=5.2.2
  • jax >=0.4.13
  • numpy <=1.24.4
  • numpyro >=0.12.1
  • tqdm >=4.66.1
v0/requirements.txt pypi
  • SciencePlots *
  • arviz *
  • astropy *
  • corner *
  • iminuit *
  • jacobi *
  • jax *
  • matplotlib *
  • nlopt *
  • numdifftools *
  • numpy *
  • numpyro *
  • pymc *
  • pytensor *
  • scipy *
  • tqdm *
  • xarray *