pylabrobot.resources.volume_tracker.TipVolumeTracker#

class pylabrobot.resources.volume_tracker.TipVolumeTracker(max_volume: float)#

Bases: pylabrobot.resources.volume_tracker.VolumeTracker

A channel volume tracker tracks and validates volume operations for a single tip.

Attributes

history

The past operations.

is_disabled

Methods

__init__(max_volume)

clear()

Clear the history.

commit()

Commit the pending operations.

disable()

Disable the volume tracker.

enable()

Enable the volume tracker.

get_free_volume()

Get the free volume of the container.

get_used_volume()

Get the used volume of the container.

handle_aspiration(op)

Update the pending state with the operation.

handle_dispense(op)

Update the pending state with the operation.

queue_aspiration(op)

Check if the operation is valid given the current state.

queue_dispense(op)

Check if the operation is valid given the current state.

rollback()

Rollback the pending operations.

set_used_volume(volume)

Set the volume of the container.

Parameters

max_volume (float) –