Routines for processing data obtained at the Advanced Light Source