Alignment Markers

Alignment Cross

class picwriter.components.AlignmentCross(cross_length, cross_width, small_cross_width=None, center=(0, 0), layer=1, datatype=0)

Cross Cell class, used for alignment

Args:
  • cross_length (float): Length of each arm of the cross.
  • cross_width (float): Width of the cross arm
  • center (tuple): Coordinate (x1, y1) of the center of the cross
Keyword Args:
  • small_cross_width (float): If given, sets the width of the small cross in the center of the big cross. Defaults to 1/4 the value of cross_width
  • layer (int): Layer to place the marker on. Defaults to 1
  • datatype (int): Datatype to place the marker on. Defaults to 0
../_images/cross.png

Alignment Target

class picwriter.components.AlignmentTarget(diameter, ring_width, num_rings=10, center=(0, 0), layer=1, datatype=0)

Standard Target Cell class, used for alignment. Set of concentric circles

Args:
  • diameter (float): Total diameter of the target marker
  • ring_width (float): Width of each ring
Keyword Args:
  • num_rings (float): Number of concentric rings in the target. Defaults to 10
  • center (tuple): Coordinate (x1, y1) of the center of the cross. Defaults to (0,0)
  • layer (int): Layer to place the marker on. Defaults to 1
  • datatype (int): Datatype to place the marker on. Defaults to 0
../_images/target.png