System Simulation
anims | ||
libs | ||
.gitignore | ||
README.md | ||
sinus.py | ||
sinus_anim.py | ||
UNLICENSE |
System Simulation
Just me playing around with system theory stuff.
Sinus
Notes:
- Sine looks fine up to roughly pi/4, which is 1/8th of the sample frequency (8 points per period)
- At pi/2, we only have the points [0, 1, 0, -1, ...], so exactly 4 points per period. Above pi/2 we have less than 4 points per period, which visually translates to "multiple" sines. Don't know how to call this. It is kinda like there is too little information in the stem plot to really see the high frequency sine, so the brain just sees multiple sines. Still, no aliasing, one could in theory re-construct the original sine.
- Approaching pi, the effect gets much more noticeable, because the "sines" are low-frequency
- For frequencies above pi (nyquist), we get mirrored results and aliasing