Within my python routine, I have a function that I call to simulate poisson waiting times:
import numpy as np import math def poisson_claims(n_vals, lambda):