Attributes#
- class deapi.Attributes(center_x: int = 0, center_y: int = 0, zoom: float = 1.0, window_width: int = 0, window_height: int = 0, fft: bool = False, linear_stretch: bool = False, stretch_type: int = ContrastStretchType.LINEAR, manual_stretch_min: float = 0.0, manual_stretch_max: float = 0.0, manual_stretch_gamma: float = 1.0, outlier_percentage: float = 2.0, buffered: bool = False, timeout_msec: float = -1, frame_width: int = 0, frame_height: int = 0, dataset_name: str = None, acq_index: int = 0, acq_finished: bool = False, image_index: int = 0, frame_count: int = 0, image_min: float = 0, image_max: float = 0, image_mean: float = 0, image_std: float = 0, eppix: float = 0, eps: float = 0, eppixps: float = 0, epa2: float = 0, eppixpf=0, eppix_incident=0, eps_incident=0, eppixps_incident=0, epa2_incident=0, eppixpf_incident=0, under_exposure_rate=0, over_exposure_rate=0, timestamp=0, auto_stretch_min=0.0, auto_stretch_max=0.0, auto_stretch_gamma=1.0, saturation=0.0)#
Bases:
object
Class to hold attributes for getting the result of an image acquisition
- Parameters:
center_x (float, optional) – Center x coordinate of the image
center_y (float, optional) – Center y coordinate of the image
zoom (float, optional) – Zoom level of the image
window_width (int, optional) – Width of the window in pixels
window_height (int, optional) – Height of the window in pixels
fft (bool, optional) – Whether the image is in Fourier space
linear_stretch (bool, optional) – Whether to apply linear stretching to the image
stretch_type (int, optional) – Type of contrast stretching to apply
manual_stretch_min (float, optional) – Minimum value for manual contrast stretching
manual_stretch_max (float, optional) – Maximum value for manual contrast stretching
manual_stretch_gamma (float, optional) – Gamma value for manual contrast stretching
Methods