Skip to main content

"High ENergy Data Reduction Interface from the Command Shell"

Project description

Build Status Coverage Status Documentation Status

HENDRICS - High ENergy Data Reduction Interface from the Command Shell

Description

This set of command-line scripts based on Stingray is designed to do correctly and fairly easily a quick-look (spectral-)timing analysis of X-ray data, treating properly the gaps in the data due, e.g., to occultation from the Earth or passages through the SAA. Originally, its development as MaLTPyNT - Matteo’s Libraries and Tools in Python for NuSTAR Timing - was driven by the need of performing aperiodic timing analysis on NuSTAR data, whose long dead time made it difficult to treat power density spectra with the usual tools. By exploiting the presence of two independent detectors, one could use the cospectrum as a proxy for the power density spectrum (for an explanation of why this is important, look at Bachetti et al., ApJ, 800, 109 -arXiv:1409.3248).

Today, this set of command line scripts is much more complete and it is capable of working with the data of many more satellites. Among the features already implemented are power density and cross spectra, time lags, pulsar searches with the Epoch folding and the Z_n^2 statistics, color-color and color-intensity diagrams. More is in preparation: rms-energy, lag-energy, covariance-energy spectra, Lomb-Scargle periodograms and in general all that is available in Stingray. The analysis done in HENDRICS will be compatible with the graphical user interface DAVE, so that users will have the choice to analyze single datasets with an easy interactive interface, and continue the analysis in batch mode with HENDRICS. The periodograms produced by HENDRICS (like a power density spectrum or a cospectrum), can be saved in a format compatible with Xspec or Isis, for those who are familiar with those fitting packages. Despite its original main focus on NuSTAR, the software can be used to make standard aperiodic timing analysis on X-ray data from, in principle, any other satellite (for sure XMM-Newton and RXTE).

The documentation can be found here.

A tutorial is also available here.

Installation instructions

To install stable or beta releases:

$ pip install hendrics

For development versions:

$ git clone git@github.com/StingraySoftware/HENDRICS
$ cd HENDRICS
$ python setup.py install

License and notes for the users

This software is released with a 3-clause BSD license. You can find license information in the LICENSE.rst file.

If you use this software in a publication, please refer to its Astrophysics Source Code Library identifier:

  1. Bachetti, M. 2018, HENDRICS: High ENergy Data Reduction Interface from the Command Shell, record ascl:1805.019.

and please also cite stingray <https://stingray.science/stingray/citing.html>

In particular, if you use the cospectrum, please also refer to:

  1. Bachetti et al. 2015, ApJ , 800, 109.

If you have found a bug please report it by creating a new issue on the HENDRICS GitHub issue tracker.

Development guidelines

Please follow the development workflow for the Astropy project. In the hendrics/tests directory, there is a test suite called test_fullrun.py. These tests use the actual command line scripts, and should always pass (albeit with some adaptations). The other test suites, e.g. test_unit.py, tests the API.

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

hendrics-7.0.2.tar.gz (31.4 MB view details)

Uploaded Source

Built Distribution

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

hendrics-7.0.2-py3-none-any.whl (25.8 MB view details)

Uploaded Python 3

File details

Details for the file hendrics-7.0.2.tar.gz.

File metadata

  • Download URL: hendrics-7.0.2.tar.gz
  • Upload date:
  • Size: 31.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 pkginfo/1.8.2 requests/2.27.1 setuptools/58.0.4 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for hendrics-7.0.2.tar.gz
Algorithm Hash digest
SHA256 49862519e650060e2bf75241319b89bdcc59f86d2324b9026b6b4cf8c86bd428
MD5 56b042c0c6be27aa77b357615a2e9c79
BLAKE2b-256 85c36570739427921200448f02ba7b08d66c85e4875e08ddea6e502e6e2b4e46

See more details on using hashes here.

File details

Details for the file hendrics-7.0.2-py3-none-any.whl.

File metadata

  • Download URL: hendrics-7.0.2-py3-none-any.whl
  • Upload date:
  • Size: 25.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 pkginfo/1.8.2 requests/2.27.1 setuptools/58.0.4 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for hendrics-7.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4d863318d7cb8c1ed2992c6897e242c345ea435b0b040025d8991425b0eec8a4
MD5 8b0572f8f834da916261ec95d08ce14c
BLAKE2b-256 2e49faaa59eee32421d9583df98b264ca906e7b7aefd7a849ac7983f51772fb2

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