A Python library for custom FFT, cross-spectrum, and PSD calculations, with support for optimized algorithms across multiple decades. In some signal processing computation specific spectrum tools can be really useful like a multipurpose Swiss Army knife.
- FFT: Compute the Fast Fourier Transform (FFT) of a signal.
- CSD: Cross-spectral density estimation between two signals with support for averaging.
- PSD: Power Spectral Density estimation for a signal.
Clone the repository:
git clone https://github.com/modestinocarbone/Spectra_libInstall dependencies first:
pip install -r requirements.txtInstall library:
pip install .Use the following header in your project:
from Spectra_lib import Spectra
spec = Spectra()The file example.py is a perfect proof of concept of various kind of function implementations offered by the library