music.available_azimuths¶
- music.available_azimuths(elevation, directory=None)[source]¶
The azimuths measured at one elevation, in this package’s convention.
- Parameters:
- elevation
integer One of
ELEVATIONS.- directory
path,optional Where the measurements are. Defaults to
hrtf_dir().
- elevation
- Returns:
tupleofintegersAscending, in degrees, measured from the ear axis as everything else in this package is: 0 is to the right, and the angle increases counter-clockwise, so 90 is straight ahead.
- Raises:
FileNotFoundErrorIf the measurements are not there.
ValueErrorIf elevation is not one of the measured ones.
- Parameters:
- Return type:
See also
hrirreads one of them.
Examples
>>> available_azimuths(0)[:4] (0, 5, 10, 15) >>> len(available_azimuths(90)) 1