Skip to main content

A Python wrapper of the Phase Dispersion Minimization (PDM)

Project description

Py-PDM

A Python wrapper of the Phase Dispersion Minimization (PDM), which is a C code written by Stellingwerf.

Compared with other Python implementations, with the help of Cython, we can obtain a much faster PDM tool.

Installation

To install Py-PDM with pip:

pip install py-pdm

Alternatively you can install it manually:

git clone https://github.com/ckm3/Py-PDM.git
cd Py-PDM
python setup.py install

Usage

from pdmpy import pdm

freq, theta = pdm(time, y_value, y_sigma, frequency_min, frequency_max, frequency_step, number_of_bins)

Please refer to the documentation to see in details.

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

Py-PDM-0.6.0.tar.gz (148.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page