Check out the Hyperspy Workshop May 13-17, 2024 Online

detector#

Calibration.detector(pixel_size, detector_distance, beam_energy=None, wavelength=None, center=None, units='k_nm^-1')[source]#

Calibrate the signal with a known pixel size, detector distance, and beam energy/wavelength.

This sets the signal axes to be a ~hyperspy.axes.DataAxis instead of a UniformAxis to account for the Ewald sphere curvature. This is the most accurate method of calibration but requires a known beam energy/wavelength and detector distance or to calibration the experimental configuration with a known standard.

Parameters:
  • pixel_size (float) – The pixel size in meter.

  • detector_distance (float) – The detector distance in meter.

  • beam_energy (float) – The beam energy in keV.

  • wavelength (float) – The beam wavelength in nm^-1.

  • center (list) – The center of the signal in pixels.

  • unit (str) – The unit to calculate the radial extent with.