pylabrobot.liquid_handling.backends.backend.LiquidHandlerBackend.get_channel_spacings#
- LiquidHandlerBackend.get_channel_spacings(use_channels: List[int]) List[float]#
Get the per-channel occupancy diameter for each channel being used.
Each value is the channel’s occupancy diameter - the physical space it takes up. The required center-to-center distance between two adjacent channels is the sum of their radii:
spacing[i]/2 + spacing[j]/2.- Parameters:
use_channels (List[int]) – The channels being used, in order.
- Returns:
List of per-channel occupancy diameters (mm), length =
len(use_channels). Defaults toGENERIC_LH_MIN_SPACING_BETWEEN_CHANNELS(9mm) for all channels. Backends with variable channel spacing should override this.- Return type:
Note: This assumes channels spread along Y. Backends where channels are fixed in Y (e.g. OT2 with 2 channels at fixed X spacing) should either override this or signal that Y-spread is not supported via a
supports_y_spreadproperty.