8000 FEATURE REQUEST: Install without saving/caching functionality · Issue #400 · acoular/acoular · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

FEATURE REQUEST: Install without saving/caching functionality #400

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jake-is-ESD-protected opened this issue Dec 5, 2024 · 1 comment

Comments

@jake-is-ESD-protected
Copy link
Contributor

Feature Description

While caching can be disabled, installing Acoular still depends on the packages that make caching possible and, to a greater extent, depends on packages that enable the saving and loading of large, static data such as h5py or pytables. This is not only bloat when a user explicitly does not want caching capabilities (see below for an example), but it also straight up makes installing Acoular impossible on some weaker/alternative platforms. For example, installing Acoular on the Google Coral edge TPU fails because a h5py distribution for it does not exist and the device is too weak to compile it from source (it runs out of RAM). This is frustrating because the device is powerful enough to utilize Acoular's signal processing capabilities as-is with small in-memory data chunks, which renders any caching/saving methods unused and therefore not needed. Is it possible to install Acoular with an extra that omits these packages? For example pip install acoular[no-cache] or pip install acoular[just-dsp]?

Use Case

While "real-time" and "Python" may exclude each other, it is still very convenient to perform successive calculations on Raspberry Pi-esque single board computers in small memory chunks. There, I do not intend to analyze big data sets but rather one small buffer after the other for quasi real-time applications such as visualizations like Spectacoular already does, but on a smaller system.

Importance

Medium: Would be beneficial for some users.

@esarradj
Copy link
Member

Dropping HDF5 dependency would not just mean that there is no cache, but also no data intake from HDF5 files, and, of course, no HDF5 output. This might be OK when we provide sufficient other means of reading data, e.g. from plain .npy or .csv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
0