-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simulator.simple_ir: width should always be > self.dt #851
Comments
Hey!
|
@spranav1205 I guess one could just use |
Yes, that would certainly work. But I don't understand one thing. Say Would you like me to make a PR using |
The impulse should always appear, having a 0 impulse response is always useless :) e.g.
or
|
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 asIf
width
is smaller thanself.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]
The text was updated successfully, but these errors were encountered: