PixelFormat#

class deapi.PixelFormat(value)#

Bases: Enum

An Enum describing the pixel format of the image data returned by the DE API

Attributes

Methods

PixelFormat.to_numpy_dtype()

Convert the PixelFormat to a numpy dtype

PixelFormat.from_numpy_dtype(dtype)

Convert a numpy dtype to a PixelFormat

Examples using PixelFormat#

Monitoring Bright Spot Intensity

Monitoring Bright Spot Intensity

Taking an Image every 10 seconds

Taking an Image every 10 seconds

Viewing the Sensor in TEM Mode

Viewing the Sensor in TEM Mode