example:
Eliminate ``bad'' beam-position-monitor readouts from PAR x BPM data, where
a bad readout is one that is more than three standard deviations from the
mean:
sddsoutlier par.bpm par.bpm1 -columns=P?P?x -stDevLimit=3
Fit a line to readout P1P1x vs P1P2x, then eliminate points too far from the line.
sddspfit par.bpm -pipe=out -columns=P1P2x,P1P1x
| sddsoutlier -pipe=in par.2bpms -column=P1P1xResidual -stDevLimit=2
Same, but refit and redo outlier elimination based on the improved fit:
sddspfit par.bpm -pipe=out -columns=P1P2x,P1P1x
| sddsoutlier -pipe par.2bpms -column=P1P1xResidual -stDevLimit=2
| sddspfit -pipe -columns=P1P2x,P1P1x
| sddsoutlier -pipe=in par.2bpms -column=P1P1xResidual -stDevLimit=2