Two-dimensional goodness-of-fit testing in astronomy | Synapse