Edit plume-loss-triggered analysis code to use scalar metrics and calculated statistics.