Calculates the shot noise current of a photodetector as a function of its bandwidth and of the photocurrent.