pylabrobot.pumps.pump.Pump#
- class pylabrobot.pumps.pump.Pump(backend: PumpBackend, calibration: PumpCalibration | None = None)#
Bases:
Machine
Frontend for a (peristaltic) pump.
Attributes
Methods
__init__
(backend[, calibration])deserialize
(data)halt
()Halt the pump.
pump_volume
(speed, volume)Run the pump at specified speed for the specified volume.
run_continuously
(speed)Run continuously at a given speed.
run_for_duration
(speed, duration)Run the pump at specified speed for the specified duration.
run_revolutions
(num_revolutions)Run a given number of revolutions.
setup
(**backend_kwargs)stop
()- Parameters:
backend (PumpBackend)
calibration (PumpCalibration | None)