Tools for handling phase retrieval and related tasks in sparse (low-signal) X-ray single particle imaging applications, specifically COACS.