We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.MS

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Mathematical Software

Title: pyFFS: A Python Library for Fast Fourier Series Computation and Interpolation with GPU Acceleration

Abstract: Fourier transforms are an often necessary component in many computational tasks, and can be computed efficiently through the fast Fourier transform (FFT) algorithm. However, many applications involve an underlying continuous signal, and a more natural choice would be to work with e.g. the Fourier series (FS) coefficients in order to avoid the additional overhead of translating between the analog and discrete domains. Unfortunately, there exists very little literature and tools for the manipulation of FS coefficients from discrete samples. This paper introduces a Python library called pyFFS for efficient FS coefficient computation, convolution, and interpolation. While the libraries SciPy and NumPy provide efficient functionality for discrete Fourier transform coefficients via the FFT algorithm, pyFFS addresses the computation of FS coefficients through what we call the fast Fourier series (FFS). Moreover, pyFFS includes an FS interpolation method based on the chirp Z-transform that can make it more than an order of magnitude faster than the SciPy equivalent when one wishes to perform interpolation. GPU support through the CuPy library allows for further acceleration, e.g. an order of magnitude faster for computing the 2-D FS coefficients of 1000 x 1000 samples and nearly two orders of magnitude faster for 2-D interpolation. As an application, we discuss the use of pyFFS in Fourier optics. pyFFS is available as an open source package at this https URL, with documentation at this https URL
Comments: SIAM Journal on Scientific Computing, Volume 44, Issue 4 (2022)
Subjects: Mathematical Software (cs.MS); Signal Processing (eess.SP)
Cite as: arXiv:2110.00262 [cs.MS]
  (or arXiv:2110.00262v3 [cs.MS] for this version)

Submission history

From: Eric Bezzam [view email]
[v1] Fri, 1 Oct 2021 08:38:17 GMT (2938kb,D)
[v2] Sun, 24 Apr 2022 22:36:44 GMT (3069kb,D)
[v3] Mon, 26 Sep 2022 11:48:08 GMT (3029kb,D)

Link back to: arXiv, form interface, contact.