tomtag.histogram ============================================= .. raw:: html
tomtag.histogram(tagsA, tagsB, sizeA, sizeB, tcc)
[source]
build a histogram over a specified delay sweep, for each delay counting the number of identified coincidences.

Examples

>>> import tomtag as tt
    >>> import numpy as np
    >>> tagsA = np.array([12,679,1289,1487])
    >>> tagsB = np.array([20,409,1279,1887])
    >>> tcc = 15
    >>> 
    >>> hist = tt.histogram(tagsA, tagsB, len(tagsA), len(tagsB), tcc)