This package implements a simple GUI to calculate real positive Fourier transforms from data stored in a plain text file, e.g., the recording data of an accelerometer. It aims to be an educational resource for the structural dynamics course at the Barcelona School of Civil Engineering.

Installation

The recommended installation is via pip:

pip install -u owlfft

Usage

The package can be called as a module from any location, like

python -m owlfft

Alternatively, you can create a python launcher (e.g., fft.pyw) to run it without opening the commandline. The file should contain the following lines:

import owlfft
owlfft.main()

Example

The above window will be opened. It allows to select a .csv or .txt file and to specify how to read it (custom delimiter, columns where to read data, etc.). There are also two range sliders to trim the time and the frequency domains. Finally, a cursor is added to the FFT spectrum plot.

Why an owl?

Because the python project must be unique, because the author likes birds and because the name is short.

Thanks

The author gratefully acknoledge Flaticon for the design of the icon.