The original version of the Bragg disk detection algorithm was in serial form, run from inside of a Jupyter Notebook where images of the data were rendered for inspection and analysis. The original function was written in Python and makes heavy use of NumPy for array manipulation and calculations, so a natural fit to parallelize this would be a tool like Dask.