pub fn g3_sync(f: &File, params: &G3SyncParams) -> Result<G3SyncResult, Error>
Expand description

Computes the third order autocorrelation (g3) of two channels relative the a periodic sync channel.

Parameters

The parameters to the algorithm are passed via a G3Params struct that contains the following:

  • channel_sync: The number of the first input channel into the TCSPC,
  • channel_1: The number of the second input channel into the TCSPC,
  • channel_2: The number of the third input channel into the TCSPC,
  • correlation_window: Length of the correlation window of interest in seconds,
  • resolution: Resolution of the g3 histogram in seconds,

Return

A square matrix with the (0, 0) index being the (t1=0, t2=0) delays grow down and to the right. First index is tau1 and second index is tau2.