cherab.imas.ids.bolometer.utility.CameraTypeΒΆ

class cherab.imas.ids.bolometer.utility.CameraType(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)SourceΒΆ

Bases: Enum

Enum for camera type.

The type of the bolometer camera.

PINHOLEΒΆ

The camera is a pinhole camera.

COLLIMATORΒΆ

The camera is a collimator camera.

OTHERΒΆ

The camera is of other type.

Methods

from_value(value)

Get the camera type from a value.

__getitem__(name)

Return the member matching name.

Attributes

PINHOLE

COLLIMATOR

OTHER

classmethod from_value(value: int) SelfSourceΒΆ

Get the camera type from a value.

Parameters:
value: intΒΆ

The integer value to convert to a camera type. If the value is not a valid camera type, the default is OTHER.

Returns:

The corresponding CameraType enum member.

Return type:

CameraType