convert_koenderink

Module Contents

Functions

correlate_times(abstimes1, abstimes2[, window, binsize])

Calculate second-order correlation based on time-tagged time-resolved photon data.

Attributes

chA

chB

chR

chA

chB

chR

part_group

convert_koenderink.correlate_times(abstimes1, abstimes2, window=500.0, binsize=0.5)[source]

Calculate second-order correlation based on time-tagged time-resolved photon data.

The function is a simple nested loop that runs through every photon within a certain window and checks for coincidences. Each coincidence gets a relative time, which are all put in a histogram to get the second-order correlation. Before the calculation, the arrival times are corrected based on the difftime parameter, which accounts for possible delay between two TCSPC cards.

Arguments:

abstimes11D array

absolute times for channel 1 in ns

abstimes21D array

absolute times for channel 2 in ns

difftimefloat

time difference between channels (ch. 1 - ch. 2) in ns

windowfloat

time window for correlation in ns

binsizefloat

bin size for correlation histogram in ns

Returns:

bins1D array

correlation histogram bins

corr1D array

correlation histogram values

events1D array

difftimes used to construct histogram, returned in case rebinning is needed.

convert_koenderink.chA[source]
convert_koenderink.chB[source]
convert_koenderink.chR[source]
convert_koenderink.chA[source]
convert_koenderink.chB[source]
convert_koenderink.chR[source]
convert_koenderink.part_group[source]