pylabrobot.resources.utils.create_equally_spaced_y#
- pylabrobot.resources.utils.create_equally_spaced_y(klass: Type[T], num_items_y: int, dx: float, dy: float, dz: float, item_dy: float, **kwargs) List[T] #
Make equally spaced resources over the y-axis. See
create_equaly_spaced_2d()
for more details.- Parameters:
klass (Type[T]) – The class of the resource to create
num_items_y (int) – The number of items in the y direction
dx (float) – The bottom left corner for items in the left column
dy (float) – The bottom left corner for items in the bottom row
dz (float) – The z coordinate for all items
item_dy (float) – The size of the items in the y direction
**kwargs – Additional keyword arguments to pass to the resource constructor
- Returns:
A list of lists of resources.
- Return type:
List[T]