X-ray absorption near-edge structure calculations beyond the muffin-tin approximation | Synapse