GithubHelp home page GithubHelp logo

ayush1999 / hendrics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stingraysoftware/hendrics

0.0 1.0 0.0 27.99 MB

Shell scripts for spectral-timing analysis of X-ray astronomical data.

Home Page: http://hendrics.readthedocs.io

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%

hendrics's Introduction

Build Status Build status Coverage Status Documentation Status

HENDRICS - High ENergy Data Reduction Interface from the Command Shell

Notice

This repository contains an evolution of MaLTPyNT. This software is being heavily rewritten in order to use Stingray's classes and functions whenever possible. To use the original MaLTPyNT, please go to matteobachetti/MaLTPyNT.

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

Development guidelines

The development will initially be towards substituting MaLTPyNT's internal application programming interface (API) with Stingray's, while maintaining the same Command Line Interface (CLI). Ideally, a user that only uses MaLTPyNT from the command line, without executing python explicitly, should not notice the difference. 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, and will need to be rewritten to account for the API changes.

hendrics's People

Contributors

matteobachetti avatar bsipocz avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.