Function tttr_toolbox::tttr_tools::synced_g3::g3_sync [−][src]
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,