pylabrobot.revvity.celigo.CoordinateSystems#
- class pylabrobot.revvity.celigo.CoordinateSystems(sample_to_stage: _CoordinateFrame, image_to_stage: _CoordinateFrame)#
Bases:
objectAffine coordinate frames and conversion methods.
Build with
from_config().reference_point_mmis the current field center in sample coordinates; pass it per FOV, or leave it at the sample origin for plate-relative conversions.Methods
__init__(sample_to_stage, image_to_stage)from_config(calibration, hardware_defaults)image_pixel_to_sample_mm(px, py)image_pixel_to_stage_mm(px, py)sample_mm_to_image_pixel(x, y)sample_mm_to_stage_mm(x, y)stage_mm_to_sample_mm(x, y)- Parameters:
sample_to_stage (_CoordinateFrame)
image_to_stage (_CoordinateFrame)