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.8.tar.gz (77.0 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.8-py3-none-any.whl (84.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: heapyx-0.1.8.tar.gz
  • Upload date:
  • Size: 77.0 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.8.tar.gz
Algorithm Hash digest
SHA256 10ce9ab9b25d22b760f679ea54072d789b535d14b0d9f7b6b63de5b1a219ca44
MD5 bbfab5d653fc0d96dfbcc55f941aca3f
BLAKE2b-256 5c796c275fa48972aaff746aa11be3727933e864b9b43201961803dae31585be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: heapyx-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 84.0 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 5d2a0c1c43b62dd2c7b3ac1ffa523501b7fa62a65cd578ba93184ea52e43e57d
MD5 5bbaa93f43835a3652fa2e1187ac18ad
BLAKE2b-256 d347fffc2109ff53f66ccad820b5c0afd3eba80c8c701e46aae1198c310f8761

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