Coder Social home page Coder Social logo

liangbingkaer / pulseportraiture Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pennucci/pulseportraiture

0.0 0.0 0.0 23.23 MB

PulsePortraiture (PP): a wideband pulsar timing code written in python. It uses an extension of Joe Taylor's FFTFIT algorithm (Taylor 1992) to simultaneously measure a phase (TOA) and dispersion measure (DM). PSRCHIVE, lmfit, and the latest vertsions of numpy and scipy are required.

Home Page: https://github.com/pennucci/PulsePortraiture

License: Other

Python 100.00%

pulseportraiture's Introduction

Pulse Portraiture

What?

A set of libraries and modules to measure "wideband" pulse times-of-arrival (TOAs), written in python. It uses an extension of Joe Taylor's FFTFIT algorithm (Taylor 1992) to simultaneously measure a phase (TOA) and dispersion measure (DM). It has subsequently been improved to also incoporate fitting for scattering parameters (timescale tau and index alpha) and frequency**-4 phase delays ("GM"). It is to be used with PSRCHIVE-compatible folded archives (PSRFITS format).

Why?

The motivation behind writing this software was to develop a wideband measurement routine for high-precision pulsar timing in the era of very broadband receivers and high-cadence timing observations for PTA experiments, and it makes up a chunk of Tim Pennucci's Ph.D. thesis. Algorithm development and coding help was provided by Paul Demorest and Scott Ransom.

How?

The technical description of this work and its related papers are:

Requirements

  • PSRCHIVE, compiled with the python-interface enabled,
  • NumPy & SciPy recent versions will do,
  • PyWavelets is required for wavelet smoothing / ppspline.py, and
  • LMFIT is required for Gaussian portrait modelling / ppgauss.py and a few other functions.

TL;DR

  • pplib contains functions and classes needed for the fitting scripts.
  • ppspline is a command-line utility to build smoothly varying model portraits based on PCA decomposition, wavelet smoothing, and B-splin einterpolation between the components.
  • ppgauss is a command-line utility to build Gaussian-component model portraits.
  • pptoaslib contains functions needed for pptoas.
  • pptoas is a command-line utility to measure TOAs, DMs, nu**-4 delays, and scattering parameters.
  • ppalign is a command-line utility to average homogeneous data by measuring phases and DMs.
  • ppzap is a command-line utility which uses pptoas to identify potentially overlooked bad channels to zap.
  • The command-line programs can be imported into ipython for additional flexibility of use.
  • See the examples directory for simple command-line use.
  • Run and examine examples/example.py for a more in-depth demonstration.
  • Try the notebook example_make_model_and_TOAs.ipynb for a walk-through.

License

Released under GPLv2, sans "or later" clause.

Other

Code improvements are underway, as is a broad application to IPTA pulsars of interest. Suggestions and additional development are welcome.

pulseportraiture's People

Contributors

pennucci avatar astrogewgaw avatar demorest 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.