Source code for pythonlab.resources.services.shaker
from typing import Optional
from pythonlab.resource import ServiceResource, LabwareResource
[docs]
class ShakerServiceResource(ServiceResource):
"""
"""
def __init__(self, proc, name: Optional[str]):
super().__init__(proc=proc, name=name)
[docs]
def shake_plate(self, labware: LabwareResource, duration: float, frequency: float, **kwargs):
kwargs.update({"fct": "shake", "duration": duration, "frequency": frequency})
self.proc.add_process_step(self, [labware], **kwargs)