code: def energy(self) -> ErrorValue:
          
          return (ErrorValue(*(scipy.constants.physical_constants['speed of light in vacuum'][0::2])) *
                  ErrorValue(*(scipy.constants.physical_constants['Planck constant in eV s'][0::2])) /
                  scipy.constants.nano /
                  self.wavelength)
docs: X-ray energy