Python package to download, unpack and process impulse response datasets.
Project description
irdl: Impulse Response Downloader
Python package to download, unpack and process impulse response datasets in a unified way.
Highlights
- Returns data in a standardised format either
- a dictionary of
pyfar-objects (default) - a dictionary of NumPy arrays
- a path to an HDF5-file for partial data access not having to load the entire data into memory
- a dictionary of
- Leverages
poochto download impulse response datasets and verifies their integrity with a checksum. - Only downloads, extracts and processes what is actually needed.
- Adds
pooch-support for dSpace repositories, such as TU Berlin depositonce. - Data storage location can be set by
IRDL_DATA_DIRenvironmental variable (defaults to user cache directory).
Links
Usage (Python API)
The package can be included in a Python script as simple as:
from irdl import get_fabian
data = get_fabian(kind='measured', hato=10)
print(data)
{'impulse_response': time domain energy Signal:
(11950, 2) channels with 256 samples @ 44100.0 Hz sampling rate and none FFT normalization
,
'receiver_coordinates': 2D Coordinates object with 2 points of cshape (2, 1)
Does not contain sampling weights,
'source_coordinates': 1D Coordinates object with 11950 points of cshape (11950,)
Does not contain sampling weights}
Usage (CLI)
Once installed, the package provides a convenient command line script which can be invoked with irdl.
$ irdl --help
Usage: irdl [OPTIONS] COMMAND [ARGS]...
╭─ Options ──────────────────────────────────────────────────────────────────────╮
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to copy │
│ it or customize the installation. │
│ --help Show this message and exit. │
╰────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ─────────────────────────────────────────────────────────────────────╮
│ fabian Download and extract the FABIAN HRTF Database v4 from DepositOnce. │
│ miracle Download and extract the MIRACLE database from DepositOnce. │
╰────────────────────────────────────────────────────────────────────────────────╯
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file irdl-1.0.0b1.tar.gz.
File metadata
- Download URL: irdl-1.0.0b1.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
001642ba8134305f711747fd26dc9c42ad83be89cfc22986114c4a821f6e2b8d
|
|
| MD5 |
f3794baa9939c731ec5099e671476051
|
|
| BLAKE2b-256 |
c8fe5a4be8d9e023c3769ecc018721843a2eb55084cc2d3eaa3e9dd56146d049
|
File details
Details for the file irdl-1.0.0b1-py3-none-any.whl.
File metadata
- Download URL: irdl-1.0.0b1-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a5d30b2021dfc15e77dbecbbbaa1994f0e471381007ecb272743708c9f75ba9
|
|
| MD5 |
5f7d654505decffec6849a2e5ebc14d0
|
|
| BLAKE2b-256 |
7202b9c2ac0f7771482d94e7974f376916dd5381550c409b7ea5c09c481c1eed
|