Skip to main content

安装方式 / Installation

通过 PyPI 安装

pip install jinwu

JinWu:Joint Inference for high energy transient light‑curve & spectral analysis With Unifying physical modeling

项目简介 / Project Introduction

金乌(JinWu)是中国古代神话中的太阳神鸟,象征着光明、能量与希望。传说中,金乌为三足乌,栖于扶桑,驾驭太阳穿行于天际,赋予万物生机。以“金乌”为名,寓意本项目致力于高能瞬变天体(如伽马暴、超新星等)的联合光变曲线与光谱物理建模与推断,探索宇宙中最明亮、最剧烈的能量释放过程。

本项目旨在为高能天体物理领域的研究者,提供统一、灵活且易于扩展的分析工具,支持多种物理模型、数据拟合与推断方法,促进科学交流与创新。

JinWu, the Golden Crow, is a legendary solar bird in ancient Chinese mythology, symbolizing light, energy, and hope. According to legend, JinWu is a three-legged bird dwelling in Fusang, driving the sun across the sky and bringing vitality to all things. Naming this project "JinWu" reflects our dedication to joint inference and physical modeling of high-energy transients (such as gamma-ray bursts and supernovae), aiming to explore the brightest and most energetic phenomena in the universe.

This project provides a unified, flexible, and extensible toolkit for researchers and enthusiasts in high-energy astrophysics, supporting various physical models, data fitting, and inference methods, and fostering scientific communication and innovation.

源码安装

git clone https://github.com/Charon0922/jinwu.git
cd jinwu
pip install .

必要依赖 / Required Dependencies

本包依赖以下 Python 库,请确保已安装:

  • numpy
  • scipy
  • astropy
  • emcee/pymc
  • astro-gdt

Fermi GBM Response Generator

git clone https://github.com/xinxiangsun/responsum.git

pip install ./responsum

git clone https://github.com/xinxiangsun/gbmgeometry.git

pip install ./gbmgeometry

git clone https://github.com/xinxiangsun/gbm_drm_gen.git

pip install ./gbm_drm_gen

git clone https://github.com/xinxiangsun/hea.git

pip install ./hea

License / 许可证

This project is licensed under the GNU General Public License v3.0 or later (GPL-3.0-or-later). See the LICENSE file for the full text.

本项目采用 GNU 通用公共许可证第 3 版或更高版本(GPL-3.0-or-later)授权。详见根目录的 LICENSE 文件。

SPDX identifier (optional for source headers): SPDX-License-Identifier: GPL-3.0-or-later.

Copyright

推荐在可交互程序启动时或源文件头部加入如下声明:

JinWu — Copyright (C) 2025 Xinxiang Sun

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.

或使用 SPDX 简洁标识:

# SPDX-License-Identifier: GPL-3.0-or-later

Acknowledgments

This project incorporates code modified from heapy (https://github.com/jyangch/heapy)

by Jun Yang, licensed under GPLv3.

Download files

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

Source Distribution

jinwu-0.1.3.tar.gz (849.1 kB view details)

Uploaded Source

Built Distribution

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

jinwu-0.1.3-py3-none-any.whl (437.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jinwu-0.1.3.tar.gz
  • Upload date:
  • Size: 849.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for jinwu-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e9d3267877a830464e3ed6600e976962043042c6541517bd0d933223b6e4651f
MD5 d8e8dfaf9a1d49f9cc849678162d99d0
BLAKE2b-256 f247ee9db7627197f8b57b09d8d88493c4ccb1d9a0ecae14c2b1a461745719e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jinwu-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 437.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for jinwu-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9e10f3f3f85f7457d74bee890be6b42fc1e0f8c61e15d38a12a217b435f81dd4
MD5 ccfd413b3d818a79cc79d87de8bf6b2b
BLAKE2b-256 4cde3a866459fa4194ed7bfe2889bbefa5883f95822d581d3883bf6b815f091b

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.0

1 file

0.1.4

2 files

This release

0.1.3 This release

2 files

0.0.31

2 files

0.0.29

2 files

0.0.28

2 files

0.0.27

2 files

0.0.26

2 files

0.0.24

2 files

0.0.23

2 files

0.0.22

2 files

0.0.21

2 files

0.0.20

2 files

0.0.19

2 files

0.0.18

2 files

0.0.17

2 files

0.0.16

2 files

0.0.15

2 files

0.0.14

2 files

0.0.13

2 files

0.0.12

2 files

0.0.11.post0

2 files

0.0.6.post1

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page