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 details)

Uploaded Source

File details

Details for the file Py-PDM-0.6.0.tar.gz.

File metadata

  • Download URL: Py-PDM-0.6.0.tar.gz
  • Upload date:
  • Size: 148.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.3.0 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for Py-PDM-0.6.0.tar.gz
Algorithm Hash digest
SHA256 bcd340e48cf115184c8bce950e777d32806d33d3e3484b4355765cf2bcc2875a
MD5 d32051a6c162535dc9c351a43b847115
BLAKE2b-256 dbd30cd69fde0a70e34f24d9f8bd09f6e8b8bd854cbf4be0766d405ed0eda045

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