libtcspc.BatchBinIncrementClusters

final class libtcspc.BatchBinIncrementClusters(bucket_size, batch_size, *, buffer_provider=None, numeric_traits=None)[source]

Bases: Node

Processor that collects bin increment clusters into encoded batches.

An optimized analogue of Batch for BinIncrementClusterEvent. Each completed batch is emitted as a BucketEvent of bin indices. Must be paired with UnbatchBinIncrementClusters downstream to recover the clusters.

Parameters:

Notes

Events handled:

  • BinIncrementClusterEvent: encoded into a batch; emitted when full.

  • All other event types: pass through unchanged.

  • End of input: emit any partial batch, then pass through.

See also

tcspc::batch_bin_increment_clusters()

The underlying C++ factory function.