femto.rasterimage module#
- class RasterImage(scan=1, speed=1.0, samplesize=(100, 50), x_init=-2.0, y_init=0.0, z_init=None, lsafe=2.0, speed_closed=5, speed_pos=0.5, cmd_rate_max=1200, acc_max=500, _x=array([], dtype=float32), _y=array([], dtype=float32), _z=array([], dtype=float32), _f=array([], dtype=float32), _s=array([], dtype=float32), px_to_mm=0.01, img_size=(0, 0))#
Bases:
LaserPathClass representing an raster laser path in the xy-plane from a balck and white image.
- px_to_mm: float = 0.01#
- img_size: tuple[int, int] = (0, 0)#
- property path_size: list[float]#
- image_to_path(img)#