TrajectoryAnalyzer appears to miscenter pooled batches under PBC when using TemporalAggregator(batch_size > 1) or batch_size = -1.
batch_size=1: OK
batch_size>1 / -1: pooled frames can mix periodic images, distorting the interface and biasing fitted contact angles.
This seems specific to TrajectoryAnalyzer (separable pipeline). Coupled analyzers are likely unaffected because they use a different pooled-density fitting path.
Requested fix: apply PBC-aware recentering per frame before concatenation in pooled TrajectoryAnalyzer execution, and add a regression test comparing batch_size=1 vs >1/-1 on a wrapped/drifting trajectory.

TrajectoryAnalyzerappears to miscenter pooled batches under PBC when usingTemporalAggregator(batch_size > 1)orbatch_size = -1.batch_size=1: OKbatch_size>1/-1: pooled frames can mix periodic images, distorting the interface and biasing fitted contact angles.This seems specific to
TrajectoryAnalyzer(separable pipeline). Coupled analyzers are likely unaffected because they use a different pooled-density fitting path.Requested fix: apply PBC-aware recentering per frame before concatenation in pooled
TrajectoryAnalyzerexecution, and add a regression test comparingbatch_size=1vs>1/-1on a wrapped/drifting trajectory.