Skip to main content

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.

PyPI - Version License: GPL v3

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

heapyx-0.1.7.tar.gz (76.7 kB view details)

Uploaded Source

Built Distribution

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

heapyx-0.1.7-py3-none-any.whl (83.4 kB view details)

Uploaded Python 3

File details

Details for the file heapyx-0.1.7.tar.gz.

File metadata

  • Download URL: heapyx-0.1.7.tar.gz
  • Upload date:
  • Size: 76.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for heapyx-0.1.7.tar.gz
Algorithm Hash digest
SHA256 9b4be6ad60cf10c51214051cb4f380c4eb724213b4a7a1afaae143b35a069fea
MD5 948526018cf619bea3b8011c0e85462a
BLAKE2b-256 3dcf8c3a9b825f0141b1786b1466cd75c6bc12ec00a1cc34b0b893607b1e4a89

See more details on using hashes here.

File details

Details for the file heapyx-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: heapyx-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 83.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for heapyx-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 b104717f4ce6ce3739b59c7b42d0c6e7b5ec823dbdceb7809ed32e6f1adec462
MD5 3bef05fc633da0b4aa2b93bc192ad940
BLAKE2b-256 dea69058310582f084a9d260276d359fe62ed6ea5138955c493c94c66b3ebc61

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