Open
Description
Description of the Bug
The impulse response here is a simple series of ones that come after a certain delay. The user inputs a width
of the series of ones. The number of ones is calculated as
# Define constant impulse response
h_ones = np.ones(int(width / self.dt)) * intensity
If width
is smaller than self.dt
, this operation gives no bins with one.
Steps/Code to Replicate the Bug
Call simple_ir with width = 0.1 * self.dt, e.g.
Expected Results
The list in ouput should be something like [0, 0, 0, 1]
Actual Results
It's [0, 0, 0]