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
xscalar

The x co-ordinate of the pixel.

yscalar

The y co-ordinate of the pixel.

dtypestr 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.