Analysis of grain boundary dynamics using event detection and cumulative averaging.