set of python scripts to demodulate signals from an infrared receiver