Does this centering algorithm work pretty well? If yes, it would be great to try to expose it for use in other places. For instance LCLS data where we have a good geometry, but might want to look to see if the beam position jitters. We should chat about the way this code is structured to get towards this goal.