Create htpulsetorise.py