BrasRs8Dataset#
- class irdl.BrasRs8Dataset#
Bases:
AKTZipBaseDatasetDownload the BRAS RS8 dataset from DepositOnce.
BRAS RS8 extends the Benchmark for Room Acoustical Simulation (BRAS) by a finite curved reflector. The dataset contains nine scenes with various source and receiver configurations, covering dispersing and focusing reflections, as well as diffraction around the surface. In total, nearly 3,000 impulse responses were measured under controlled anechoic conditions.
- Attributes:
- _category = 'room_impulse_responses'#
- _validate_params(**dataset_kwargs) None#
Validate BRAS-RS8-specific parameters.
- Parameters:
- **dataset_kwargs
dict Must contain ‘scene’ (one of the valid scene identifiers).
- **dataset_kwargs
- Raises:
ValueErrorIf scene is not one of the valid scene identifiers.
- classmethod get(scene: str = '01a', cache_dir: Path | str | None = None, export_dir: Path | str | None = None, output_format: str = 'pyfar') dict | Path | None#
Download the BRAS RS8 dataset from DepositOnce.
DOI: https://doi.org/10.14279/depositonce-25649
- 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/BRAS-RS8/>. Else, it remains in <cache_dir/output/>.
- output_format
str Output format: ‘pyfar’, ‘numpy’, ‘hdf5’, ‘sofa’, or ‘raw’.
- scene
str,optional Scene identifier to download. One of: ‘01a’, ‘01b’, ‘01c’, ‘02’, ‘03a’, ‘03b’, ‘03c’, ‘03d’, ‘03e’. Default is ‘01a’.
- cache_dir
- Returns: