finesse.detectors.camera.Pixel

Overview

class finesse.detectors.camera.Pixel(x, y, dtype)[source]

Bases: object

Data structure representation of a pixel of an image.

Parameters

x : scalar

The x co-ordinate of the pixel.

y : scalar

The y co-ordinate of the pixel.

dtype : str or dtype

Data type of the pixel.

Properties

Pixel.x

The x coordinate of the pixel.

Pixel.xdata

Equivalent to Pixel.x.

Pixel.y

The y coordinate of the pixel.

Pixel.ydata

Equivalent to Pixel.y.