Spatial X-ray Mapping of Hydrogen Content and Superconductivity in Platinum Hydride