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

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

Bases: Enum

Enum for geometry type.

The geometry type of the bolometer foil or slit.

OUTLINEΒΆ

The geometry is defined by an outline.

CIRCULARΒΆ

The geometry is circular.

RECTANGLEΒΆ

The geometry is rectangular.

Methods

from_value(value)

Get the geometry type from a value.

__getitem__(name)

Return the member matching name.

Attributes

OUTLINE

CIRCULAR

RECTANGLE

classmethod from_value(value: int) SelfSourceΒΆ

Get the geometry type from a value.

Parameters:
value: intΒΆ

The integer value to convert to a geometry type. If the value is not a valid geometry type, the default is RECTANGLE.

Returns:

The corresponding GeometryType enum member.

Return type:

GeometryType