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
sddsoutlier [-pipe=[input][,output]] [inputFile] [outputFile] [-columns=listOfNames] [-excludeColumns=listOfNames] [-stDevLimit=value] [-absLimit=value] [-absDeviationLimit=value] [-minimumLimit=value] [-maximumLImit=value] [-chanceLimit=value] [-invert] [-verbose] [-noWarnings] [{-markOnly | -replaceOnly={lastValue | nextValue | interpolatedValue | value=number}}]