Skip to main content

Fast Lomb-Scargle periodogram using Non-equispaced Fast Fourier Transform (NFFT) by B. Leroy

Project description

PyNFFTls

This Python module provides the Fast Lomb-Scargle periodogram developed by B. Leroy (2012, Astron. Astrophys. 545, A50)

It is based on the Non-equispaced Fast Fourier Transform (NFFTn http://www-user.tu-chemnitz.de/~potts/nfft/) as well as the FFTW3 library (http://www.fftw.org/). Both librairies must be installed.

Calling sequence:

(f,p) = period(t,y,ofac,hifac)

For more details, see the associated documentation For a complete example, see nfftls_test.py

This Python module also provides the following methods: - the Non-equidistant Fast Fourier Transform (NFFT) of a time series: (f,A) = nfft(t,y,p,d). For more details, see the associated documentation - the Discrete Fourier Transform (DFT) of a time series: A = dft(t,y,f). For more details, see the associated documentation

For a complete example, see nfftls_test2.py

Change history: 1.6 (29/11/2020): module made compatible with NFFT version 3.5.3 1.5 (2/02/2020): module interface is now based on Cython, module now compatible with python 3 1.4 (11/04/2019): interface of nfft() changed, this function can now compute an over-sampled fourier transform 1.3 (10/04/2019): correct a bug that lead to over-estimate the frequency by a relative factor of 1e-5 1.2 (4/06/2013): 1.1 (18/01/2013): 1.0 (3/01/2013): initial version

  1. Samadi, LESIA (http://lesia.obspm.fr), Observatoire de Paris, 22 Dec. 2012

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

pynfftls-1.6.tar.gz (28.9 kB view details)

Uploaded Source

File details

Details for the file pynfftls-1.6.tar.gz.

File metadata

  • Download URL: pynfftls-1.6.tar.gz
  • Upload date:
  • Size: 28.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for pynfftls-1.6.tar.gz
Algorithm Hash digest
SHA256 b22f1044359ef5b1ba2b1b16197e800148cb9112f5d492b85e5e4a6f2b841c13
MD5 910ce67ffab978483e4373d85d5f2568
BLAKE2b-256 07fd519e5b416d84a9aafae82b2891046287f76d43b255db46ffc9bb035eb5d8

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