Skip to main content

Simple periodogram manipulation in Python.

Project description

Periodogram

Simple and tested periodogram normalizations for astronomical time-series

Installation

pip install periodogram

Usage

There are three types of normalizations available. The amplitude spectrum is normalized such that a sine wave of amplitude 1 will have a peak amplitude of 1. The power spectrum will have 1^2, and the power spectral density will have 1^2 * Tobs

from periodogram import Periodogram

p = Periodogram.calculate(x, y, normalization='amplitude')
p.plot()

Lower-level functions for directly calculating different normalizations are also available

from periodogram import amplitude_spectrum, psd, power_spectrum

frequency, amplitude = amplitude_spectrum(x, y)

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

periodogram-0.0.13.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

periodogram-0.0.13-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file periodogram-0.0.13.tar.gz.

File metadata

  • Download URL: periodogram-0.0.13.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for periodogram-0.0.13.tar.gz
Algorithm Hash digest
SHA256 a86c33df1d3dfdf0585ff8d9c5151f54b1e5e19cc473859d638f9a36029ec795
MD5 12eb63ff31c476a21a80bfaed002aaf8
BLAKE2b-256 c658a2acd4368cd62074a5b8af2355dd58d9063310b07d1374fa6ceb62476859

See more details on using hashes here.

File details

Details for the file periodogram-0.0.13-py3-none-any.whl.

File metadata

File hashes

Hashes for periodogram-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 92ea8f0e9bf76f97bcc749ef4270ff90a4449897e63975042311b7172e9c3799
MD5 ef6cfce41bcf8a8101c8086991ff9cd6
BLAKE2b-256 a91ce0956228b37c3bffceae42f3afa1c21ed71dcea0cdd892d68af5302ff642

See more details on using hashes here.

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