Pyroomacoustics is a package for audio signal processing for indoor applications. It was developed as a fast prototyping platform for beamforming algorithms in indoor scenarios.
The absence of parenthesis around 1 / 2 led to miscalculations of the colatitude angle. This is particularly relevant in simulations involving Cardioid or Hypercardioid microphones or in case of directional sources.
Description
This update fixed the colatitude calculation. A missing parenthesis was added, and the associated tests were adjusted accordingly.
Code Change
Previous Code:
Updated Code:
Implications
The absence of parenthesis around
1 / 2
led to miscalculations of the colatitude angle. This is particularly relevant in simulations involving Cardioid or Hypercardioid microphones or in case of directional sources.