Text this: Optimization of soft X-ray tomography on the COMPASS tokamak