Generating Patchy Noise In Python