finesse.detectors.camera.Camera

Overview

class finesse.detectors.camera.Camera(name, node, w0_scaled, dtype, shape, **kwargs)[source]

Bases: MaskedDetector, ABC

Base camera class.

Parameters
namestr

Unique name of the camera.

nodeOpticalNode

Node at which to detect.

w0_scaledbool

Flag indicating whether the \(x\), \(y\) axes should be scaled to the waist-size of the beam parameter at node.

dtypenumpy.dtype or str

The data-type of the pixels.

shapetuple

Dimensions of the camera image.

Properties

Camera.needs_trace

Flag indicating whether the detector requires beam traces.

Camera.scaled_xdata

Coordinate data in the x-axis scaled to metres.

Camera.scaled_ydata

Coordinate data in the y-axis scaled to metres.

Camera.w0_scaled

Flag for whether the x and y co-ordinates have been scaled by the waist-size of the beam parameter at the detection node.