Simulation-based inference with neural posterior estimation applied to X-ray spectral fitting | Synapse