function result = cutoff(array, threshold)

result = array ./ (1 + (array/(2*threshold)).^2);