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

Medipix515x515Detector#

class pyxem.detectors.Medipix515x515Detector[source]#

Bases: Detector

A PyFAI Detector class for a 515x515 pixel Medipix Quad direct electron detector. A central 5x5 cross is not intepretable, and is stored as a calc_mask method.

The detector class is used for get_azimuthal_integral in a Diffraction2D signal. The calibration is not assumed to be constant in scattering vector.

Examples

>>> from pyxem.detectors import Medipix515x515Detector
>>> detector = Medipix515x515Detector()
>>> detector
Detector Medipix515x515Detector      Spline= None
PixelSize= 5.500e-05, 5.500e-05 m

Attributes

Medipix515x515Detector.aliases

Methods

Medipix515x515Detector.calc_mask()

Defines a function to define a mask of missing and uninterpretable pixels in the detector plane, following The missing segment is a 5-wide cross in the middle of the detector.