A log-Gaussian Cox process with sequential Monte Carlo for line narrowing in spectroscopy