Skip to main content

Python package to download, unpack and process impulse response datasets.

Project description

DOI

irdl: Impulse Response Downloader

Python package to download, unpack and process impulse response datasets in a unified way.

Highlights

  • Returns a standardised dictionary of pyfar-objects.
  • Leverages pooch to 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 depositonce.
  • Data storage location can be set by IRDL_DATA_DIR environmental 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

irdl-1.0.0a3.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

irdl-1.0.0a3-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file irdl-1.0.0a3.tar.gz.

File metadata

  • Download URL: irdl-1.0.0a3.tar.gz
  • Upload date:
  • Size: 7.8 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

Hashes for irdl-1.0.0a3.tar.gz
Algorithm Hash digest
SHA256 027062ccbc8dd58b106e9080d01c0a1557bd8a17fe1c835d0c1c36deb304face
MD5 69ba3e95e218dc29ac3cd127968e3ec0
BLAKE2b-256 81811e186e7f740f0e0461bbc58f3b0f3616f0803b106141bb24a661e217b98a

See more details on using hashes here.

File details

Details for the file irdl-1.0.0a3-py3-none-any.whl.

File metadata

  • Download URL: irdl-1.0.0a3-py3-none-any.whl
  • Upload date:
  • Size: 11.0 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

Hashes for irdl-1.0.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 e8e49b34f3661c2db5e4fc098d73e41b0cdd001f7b16b79cb800777957996d79
MD5 a2c16f3b229300648e77ea7a60be2638
BLAKE2b-256 da7c5aaa983d242fba625e37548021ef292d4bcff119770de4428ff1bd10b66e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page