PointArray#

class PointArray[source]#

Bases: EntityBase

PointArray class for defining multiple equally spaced monitor points along a line.

Example

Define PointArray with 6 equally spaced points along a line starting from (0,0,0) * fl.u.m to (1,2,3) * fl.u.m. Both the starting and end points are included in the PointArray.

>>> fl.PointArray(
...     name="Line_1",
...     start=(0.0, 0.0, 0.0) * fl.u.m,
...     end=(1.0, 2.0, 3.0) * fl.u.m,
...     number_of_points=6,
... )

Attributes

start: Any#

The starting point of the line.

end: Any#

The end point of the line.

number_of_points: int#

Number of points along the line.

Properties

id: str#

Returns private_attribute_id of the entity.