cherab.imas.ids.bolometer.GeometryΒΆ
- class cherab.imas.ids.bolometer.Geometry(centre: ~raysect.core.math.point.Point3D = <factory>, type: ~cherab.imas.ids.bolometer.utility.GeometryType = GeometryType.RECTANGLE, basis_x: ~raysect.core.math.vector.Vector3D = <factory>, basis_y: ~raysect.core.math.vector.Vector3D = <factory>, basis_z: ~raysect.core.math.vector.Vector3D = <factory>, dx: float = 0.0, dy: float = 0.0, surface: float = 0.0, radius: float = 0.0, coords: ~numpy.ndarray[tuple[~typing.Any, ...], ~numpy.dtype[~numpy.float64]] | None = None)SourceΒΆ
Bases:
objectRepresent the geometric specification of a bolometer sensor head or slit aperture.
The Geometry describes both simple rectangular / circular sensor faces and arbitrary polygonal / polyline definitions via explicit coordinates. It encapsulates a local orthonormal (or user supplied) basis, extents, and derived surface properties.
Methods
Attributes
Coordinate array defining the outline in the
basis_xandbasis_yplane.Width along
basis_xfor rectangular geometry.Width along
basis_yfor rectangular geometry.Radius for circular geometry types.
Precomputed surface area of the aperture face.
Enumerated shape type.
Geometric centre (reference point) of the sensor/slit in global 3D coordinates.
Local x-axis direction vector lying in the sensor/slit plane.
Local y-axis direction vector lying in the sensor/slit plane.
Local outward-facing normal vector perpendicular to the sensor/slit plane.
-
type : GeometryType =
3ΒΆ Enumerated shape type.
Common values include
RECTANGLE,CIRCLE,OUTLINE, etc. Defaults toGeometryType.RECTANGLE.
- basis_z : Vector3DΒΆ
Local outward-facing normal vector perpendicular to the sensor/slit plane.
This vector must be directed toward the radiation sources. When None, it can be derived as the cross product of
basis_xandbasis_y.
-
dx : float =
0.0ΒΆ Width along
basis_xfor rectangular geometry.None when not applicable (e.g., circular or polygonal types).
-
dy : float =
0.0ΒΆ Width along
basis_yfor rectangular geometry.None when not applicable (e.g., circular or polygonal types).
-
type : GeometryType =