fibomat.rasterizedpattern module#

class fibomat.rasterizedpattern.RasterizedPattern(dwell_points: ndarray, length_unit: Unit, time_unit: Unit)[source]#

Bases: object

Class to represent dwell points (position + dwell time). In contrast to RasterizedPoints, actual dwell times are collected in this class.

__init__(dwell_points: ndarray, length_unit: Unit, time_unit: Unit)[source]#
Args:
dwell_points (np.ndarray):

list of dwell pints with shape (n, 3). each point should contain (x, y, dwell_time).

length_unit (LengthUnit): length unit of points time_unit (TimeUnit): time unit of dwell times

property dwell_points#

List of dwell points (position + dwell time)

Returns:

np.ndarray

Access:

get

property positions#

List of positions

Returns:

np.ndarray

Access:

get

property dwell_times#

List of dwell times

Returns:

np.ndarray

Access:

get

property length_unit#

Length unit of positions

Returns:

LengthUnit

Access:

get

property time_unit#

Time unit of dwell times

Returns:

TimeUnit

Access:

get