HutubsDataset#
- class irdl.HutubsDataset#
Bases:
AKTZipBaseDatasetDownload the HUTUBS HRTF database from DepositOnce.
- _category = 'head_related_impulse_responses'#
- classmethod get(subject: int = 1, kind: str = 'measured', cache_dir: str | Path | None = None, export_dir: str | Path | None = None, output_format: str = 'pyfar') dict | Path | None#
Download the HUTUBS HRTF database from DepositOnce.
DOI: https://doi.org/10.14279/depositonce-8487
- Parameters:
- cache_dir
str Cache directory for downloads. Defaults is the OS user cache directory. This default can be overridden by setting IRDL_CACHE_DIR environment variable.
- export_dir
str,optional Directory for final output. If specified, the data will be exported to <export_dir/HUTUBS/>. Else, it remains in <cache_dir/output/>.
- output_format
str Output format: ‘pyfar’, ‘numpy’, ‘hdf5’, ‘sofa’, or ‘raw’.
- subject
int,optional Subject identifier. Must be an integer in the range 1 to 96. Default is 1.
- kind
str,optional HUTUBS HRIR variant. Either ‘measured’ or ‘simulated’. Default is ‘measured’.
- cache_dir
- Returns: