Python While Loop Notch Filter Circuit