A simple and flexible FPGA based autocorrelator for afterpulse characterization of single-photon detectors | IEEE Conference Publication | IEEE Xplore