Tools for working with synchrotron scans