Put the application of offsets before the check for afterpulsing. This should ensure the correct behavior when an offset introduces a afterpulsing.
Put the application of offsets before the check for afterpulsing. This
should ensure the correct behavior when an offset introduces a
afterpulsing.

tsbischof/photon_correlation,tsbischof/photon_correlation,tsbischof/photon_correlation