given a signal that was registered with an untrusted clock, if you have access to a trusted periodic signal registered with the same untrusted clock, you can make the adjust the tags, given this knowledge about the periodic signal.
Parameters
tags_signal: ndarray(dtype=int)
Timetags of the first channel.
tags_periodic: ndarray(dtype=int)
Timetags of the second channel.
size_signal: int
Number of timetags in the first channel.
size_periodic: int
Number of timetags in the second channel.
sync_period: int
The period of the periodic signal, in integer multiples of the timetag precision.
Returns
coincidences: list
An array correspoding to the delays where each entry is the number of identified coincidences when the input tags where shifted by that specific delay.