pub fn lifetime(
    f: &File,
    params: &LifetimeParams
) -> Result<LifetimeResult, Error>
Expand description

Lifetime algorithm for photon emitters.

Parameters

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

  • channel_sync: The number of the sync channel into the TCSPC,
  • channel_source: The number of the source input channel into the TCSPC,
  • correlation_window: Length of the correlation window of interest in seconds,
  • resolution: Resolution of the lifetime histogram in seconds,

Algorithm description

The lifetime algorithm is just a g2 algorithm where we set one of the channels to be the sync input. However, doing it this way is suboptimal. In first, place we get multiple replicas of the “lifetime” measurement. This means that our counts are distributed in time leading to either lower statics or a more complex postprocessing. The other major problem is that it is computationally more complex to compute a full g2 than the simplified algorithm we are running here.

Measurement requirements

The input to the sync channel must consist on a train of deltas that is synchronized with the excitation source. Typically pulsed lasers used for lifetime measurements include an RF output for this purpose.