small update of code for noise characterisation calculations