Noise Level Simulation In Python