A simple tool to calculate stochastic risk of earthquakes with respect to seismic catalogues