Skip to content
Merged
268 changes: 182 additions & 86 deletions docs/user_guide/cytation5.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pylabrobot/plate_reading/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .biotek_backend import Cytation5Backend
from .biotek_backend import Cytation5Backend, Cytation5ImagingConfig
from .clario_star import CLARIOStar
from .image_reader import ImageReader
from .imager import Imager
from .plate_reader import PlateReader
from .standard import Exposure, FocalPosition, Gain, ImagingMode
from .standard import Exposure, FocalPosition, Gain, ImagingMode, Objective
16 changes: 12 additions & 4 deletions pylabrobot/plate_reading/backend.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
from __future__ import annotations

from abc import ABCMeta, abstractmethod
from typing import List
from typing import List, Optional

from pylabrobot.machines.backend import MachineBackend
from pylabrobot.plate_reading.standard import Exposure, FocalPosition, Gain, ImagingMode
from pylabrobot.plate_reading.standard import (
Exposure,
FocalPosition,
Gain,
Image,
ImagingMode,
Objective,
)
from pylabrobot.resources.plate import Plate


Expand All @@ -25,7 +32,7 @@ async def open(self) -> None:
"""Open the plate reader. Also known as plate out."""

@abstractmethod
async def close(self) -> None:
async def close(self, plate: Optional[Plate]) -> None:
"""Close the plate reader. Also known as plate in."""

@abstractmethod
Expand Down Expand Up @@ -57,11 +64,12 @@ async def capture(
row: int,
column: int,
mode: ImagingMode,
objective: Objective,
exposure_time: Exposure,
focal_height: FocalPosition,
gain: Gain,
plate: Plate,
) -> List[List[float]]:
) -> List[Image]:
"""Capture an image of the plate in the specified mode."""


Expand Down
Loading