Histogram#

class deapi.Histogram(min: float = 0.0, max: float = 0.0, upper_most_local_maxima: int = 0, bins: int = 256, data=None)#

Bases: object

Class to hold the histogram data from an image acquisition

Parameters:
  • min (float, optional) – minimum histogram value, if min and max is set to the same value, or in trial of gain acquisition mode, the server will determine this value.

  • max (float, optional) – maximum histogram value, if min and max is set to the same value, or in trial of gain acquisition mode, the server will determine this value.

  • upper_most_local_maxima (int, optional) – upper local max histogram value

  • bins (int, optional) – number of bins requested, 0 means histogram data is not requested

  • data (list, optional) – buffer containing histogram data

Methods

Histogram.plot([ax])

Plot the histogram using matplotlib

Examples using Histogram#

Monitoring Bright Spot Intensity

Monitoring Bright Spot Intensity

Taking an Image every 10 seconds

Taking an Image every 10 seconds

Viewing Sensor Data During Acquisition

Viewing Sensor Data During Acquisition

Viewing the Sensor in TEM Mode

Viewing the Sensor in TEM Mode

Creating a Custom Virtual Mask

Creating a Custom Virtual Mask

Virtual Dark/Bright Field (VDF/VBF) Imaging

Virtual Dark/Bright Field (VDF/VBF) Imaging