Closed pixelzoom closed 3 years ago
The Java version behaves the same way - the max amplitude for width=4pi is noticeably smaller than the max amplitude for width=3pi. It doesn't result in a y-axis scale change in the Java version, because the Java version handles y-axis scale differently. But you can definitely see the change in the sum waveform, and the tick marks/labels on the y-axis do move.
I'm not sure if this is a bug in the model, or correct behavior. @arouinfar what do you think?
Java version screenshots, showing width=3pi vs 4pi:
Sorry, I didn't turn on "x-space envelope" in the above Java screenshots. But I tested again, and I see similar behavior when "x-space envelope" is checked.
If the wave packet is centered at 10-14 pi, the max value looks fine to me. I only see an issue when it's centered at 9 or 15 pi (the min/max). Perhaps the max amplitude dips because there's more of the distribution's tail (which has very low amplitudes) is included in the sum?
Would the changes to autoscale in #139 hide this issue @pixelzoom?
Perhaps the max amplitude dips because there's more of the distribution's tail (which has very low amplitudes) is included in the sum?
How do we confirm this hypothesis? And if that's the case, should we put something in Teacher Tips?
Would the changes to autoscale in #139 hide this issue @pixelzoom?
The Java version behaves the same way - the max amplitude for width=4pi is noticeably smaller than the max amplitude for width=3pi.
This is to be expected. The larger the standard deviation, the shorter the peak. Here's an example from the Wiki page on Gaussians.
I think the sim was behaving correctly, but given the changes in https://github.com/phetsims/fourier-making-waves/issues/159, this issue is now moot. Closing.
In this scenario, @kathy-phet reported its odd that y-axis scale is 0.99: