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](https://camins.upc.edu/en).
## Installation
The recommended installation is via [pip](https://pypi.org/project/owlfft/):
```sh
pip install -u owlfft
```
## Usage
The package can be called as a module from any location, like
```sh
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:
```py
import owlfft
owlfft.main()
```
## Example
![](https://github.com/miguelmaso/dynamics/raw/main/tools/docs/main_window.png)
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](https://www.flaticon.com/free-icons/owl) for the design of the icon.
Raw data
{
"_id": null,
"home_page": null,
"name": "owlfft",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": null,
"keywords": "Fourier transform, structural dynamics, teaching",
"author": null,
"author_email": "Miguel Mas\u00f3 <miguel.maso@upc.edu>",
"download_url": "https://files.pythonhosted.org/packages/f0/f7/39a8954ed86fa7a5c526fa4af06b8cdd3f3eb0f93fa9583801f0024915df/owlfft-0.0.7.tar.gz",
"platform": null,
"description": "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](https://camins.upc.edu/en).\n\n## Installation\nThe recommended installation is via [pip](https://pypi.org/project/owlfft/):\n```sh\npip install -u owlfft\n```\n\n## Usage\nThe package can be called as a module from any location, like\n```sh\npython -m owlfft\n```\n\nAlternatively, you can create a python launcher (e.g., `fft.pyw`) to run it without opening the commandline. The file should contain the following lines:\n```py\nimport owlfft\nowlfft.main()\n```\n\n## Example\n![](https://github.com/miguelmaso/dynamics/raw/main/tools/docs/main_window.png)\n\nThe 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.\n\n## Why an owl?\nBecause the python project must be unique, because the author likes birds and because the name is short.\n\n## Thanks\nThe author gratefully acknoledge [Flaticon](https://www.flaticon.com/free-icons/owl) for the design of the icon.\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Wrap numpy.fft and numpy.loadtxt within a simple GUI",
"version": "0.0.7",
"project_urls": {
"Homepage": "https://miguelmaso.github.io/dynamics/",
"Repository": "https://github.com/miguelmaso/dynamics/tree/main/tools"
},
"split_keywords": [
"fourier transform",
" structural dynamics",
" teaching"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e37db3b8818df9152310747bd3064e6a21943da2ee3a2f36170488af2ad529d5",
"md5": "022c8da3f962bb7cb744a52a4be1ca38",
"sha256": "873f917b27ddd7845522e7eaf2c5b1524952d92b26725777dc0f3d7ef2bb7ce0"
},
"downloads": -1,
"filename": "owlfft-0.0.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "022c8da3f962bb7cb744a52a4be1ca38",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 5420,
"upload_time": "2024-12-17T16:19:48",
"upload_time_iso_8601": "2024-12-17T16:19:48.033126Z",
"url": "https://files.pythonhosted.org/packages/e3/7d/b3b8818df9152310747bd3064e6a21943da2ee3a2f36170488af2ad529d5/owlfft-0.0.7-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f0f739a8954ed86fa7a5c526fa4af06b8cdd3f3eb0f93fa9583801f0024915df",
"md5": "ebb74238a53435600e36434e537c14d2",
"sha256": "be1d8fda4b9ea634f828a4de416a7535287e7f3924652edc3c1f04997c8cd8b6"
},
"downloads": -1,
"filename": "owlfft-0.0.7.tar.gz",
"has_sig": false,
"md5_digest": "ebb74238a53435600e36434e537c14d2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 102387,
"upload_time": "2024-12-17T16:19:50",
"upload_time_iso_8601": "2024-12-17T16:19:50.487085Z",
"url": "https://files.pythonhosted.org/packages/f0/f7/39a8954ed86fa7a5c526fa4af06b8cdd3f3eb0f93fa9583801f0024915df/owlfft-0.0.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-17 16:19:50",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "miguelmaso",
"github_project": "dynamics",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "owlfft"
}