High-energy (X-ray and gamma-ray) astronomical data analysis tools
Project description
Welcome To HEAPY 👋
A unified toolkit for timing and spectral analysis of X-ray and gamma-ray transient data.
Prerequisites
HEASoft
Heapy will invoke certain software and commands from HEASoft, such as xselect and ximage. Please ensure that HEASoft is correctly installed on your system, and that the Calibration Database (CALDB) for the mission (e.g., Swift) you are processing is also properly installed.
Fermi GBM Data Tools
Heapy obtains the orbital location and pointing information of Fermi by invoking gbm_data_tools. Therefore, if you require this functionality, please ensure that gbm_data_tools is correctly installed in advance.
If you are using macOS with an Apple silicon chip, you may encounter difficulties compiling older versions of matplotlib (e.g., <= 3.2.1) when installing gbm_data_tools. One possible workaround is to first install a newer version of matplotlib (for example, version 3.8.4) and then install gbm_data_tools without performing dependency checks, using the following command:
$ pip3 install matplotlib==3.8.4
$ pip3 install --no-deps <path_to_tar>/gbm_data_tools-1.1.1.tar
Fermi GBM Response Generator
Heapy generates the response matrix files for Fermi GBM by invoking gbm_drm_gen. It is recommended to install my forked Python packages, which have been fine-tuned to resolve compatibility issues with newer versions of numpy and astropy, and to use TTE data instead of CSPEC data. The specific installation procedure is as follows:
$ git clone https://github.com/jyangch/responsum.git
$ pip3 install ./responsum
$ git clone https://github.com/jyangch/gbmgeometry.git
$ pip3 install ./gbmgeometry
$ git clone https://github.com/jyangch/gbm_drm_gen.git
$ pip3 install ./gbm_drm_gen
Installation
Heapy is available via pip:
$ pip3 install heapyx
NOTE: The package name of heapy in pypi is registered as heapyx rather than heapy, as the latter has already been taken.
Documentation
If you wish to learn about the usage, you may check the examples.
License
Heapy is distributed under the terms of the GPL-3.0 license.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file heapyx-0.1.6.tar.gz.
File metadata
- Download URL: heapyx-0.1.6.tar.gz
- Upload date:
- Size: 65.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9b6c4e6d39fcc3cbd8f00650369492a9cef0bb5782f89cd01fbe4ab96eed626
|
|
| MD5 |
3788587b164db3489826c7cd1da2beed
|
|
| BLAKE2b-256 |
007982f483e194e9105ed8c2b9369b945bc0f1083c1454d9efb08819887382d7
|
File details
Details for the file heapyx-0.1.6-py3-none-any.whl.
File metadata
- Download URL: heapyx-0.1.6-py3-none-any.whl
- Upload date:
- Size: 73.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
766dae2497cb0cadf1f6806bc228e77337f456c9f89fe32ae699c3bf8c87b2f2
|
|
| MD5 |
447971223d7e7ab4162600e0d3d611be
|
|
| BLAKE2b-256 |
9774a575847363bade301f6321b1e2ea2e00ff04d676a9e406bed34489801128
|