pylabrobot.resources.utils.create_equally_spaced_x#
- pylabrobot.resources.utils.create_equally_spaced_x(klass: Type[T], num_items_x: int, dx: float, dy: float, dz: float, item_dx: float, **kwargs) List[T] #
Make equally spaced resources over the x-axis. See
create_equaly_spaced_2d()
for more details.- Parameters:
klass (Type[T]) – The class of the resource to create
num_items_x (int) – The number of items in the x 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_dx (float) – The size of the items in the x direction
**kwargs – Additional keyword arguments to pass to the resource constructor
- Returns:
A list of lists of resources.
- Return type:
List[T]