Javascript Operators Not Equal In Python Signal Processing