mahos.inst.piezo.BasePiezo3Axes#

class mahos.inst.piezo.BasePiezo3Axes(name, conf, prefix=None)#

Base Class for Piezo with 3 axes.

Listed parameters (confs) are common for all the child classes.

Parameters:
  • transform (list[list[float]]) – (default: identity matrix) a 3x3 linear transformation matrix from (real) target coordinate to command-value coordinate. This is usable for tilt correction to compensate the cross-talks in piezo axes.

  • limit_um – (default: [[0.0, 100.0], [0.0, 100.0], [0.0, 100.0)]) limits of positions in command coordinate in the following format: [[Xmin, Xmax], [Ymin, Ymax], [Ymin, Ymax]].

  • range_um (list[tuple[float, float]]) – travel ranges in target coordinate in the following format: [[xmin, xmax], [ymin, ymax], [zmin, zmax]]. This should be identical to limit_um if transform is default (identity matrix), i.e., the target corrdinate and the command-value coordinate are identical.

__init__(name, conf, prefix=None)#

Methods

__init__(name, conf[, prefix])

get(key[, args, label])

Get an instrument setting or measurement data.

get_limit()

Get command space limit in list (order of x, y, z).

get_range()

Get target space range in list (order of x, y, z).

get_target()

Get target positions in list (order of x, y, z).

init_limit_target()

init_transform_matrix()

Init transform matrices and target space range: self.T, self.Tinv and self.range.

move()

set_target(value)

set_target_X(pos)

set_target_Y(pos)

set_target_Z(pos)

set_target_pos(positions[, axes])

update self.target and move toward it.

Attributes

DEFAULT_LIMIT

LIMIT_BOUNDS