The oscilloscope is used as a coincidence counter. It considers two channel (A and B) for the photon correlation. This program works with files "nfilename.csv" from an oscilloscope Tektronix (model:DPO 2012B) but it can be adjusted
1. Number of acquisitions (n)
3. Criteria for time difference between photons (tau)
4. Histogram bins width (rs)
In the next link you can check the program for data acquisition:
JORGE ARTURO ROJAS SANTANA (2020). Coincidence histogram of correlated photons (https://www.mathworks.com/matlabcentral/fileexchange/69979-coincidence-histogram-of-correlated-photons), MATLAB Central File Exchange. Retrieved .