riverine.echo#
Attributes#
Classes#
Abstract base class for Echo actions. |
|
Transfer a fixed volume of liquid to a target mix. |
|
Transfer a fixed volume of liquid to a target mix. |
|
Get as close as possible (using direct transfers) to a target concentration, possibly varying mix volume. |
|
Abstract base class for Echo actions. |
Module Contents#
- class riverine.echo.AbstractEchoAction[source]#
Bases:
riverine.actions.ActionWithComponentsAbstract base class for Echo actions.
- to_picklist(mix: riverine.mixes.Mix, experiment: riverine.experiments.Experiment | None = None, _cache_key=None) kithairon.picklists.PickList[source]#
- class riverine.echo.EchoFixedVolume[source]#
Bases:
AbstractEchoActionTransfer a fixed volume of liquid to a target mix.
- fixed_volume: riverine.units.DecimalQuantity[source]#
- droplet_volume: riverine.units.DecimalQuantity[source]#
- dest_concentrations(mix_vol: riverine.units.DecimalQuantity = NAN_VOL, actions: Sequence[riverine.actions.AbstractAction] = (), _cache_key=None) list[riverine.units.DecimalQuantity][source]#
- each_volumes(mix_volume: riverine.units.DecimalQuantity = NAN_VOL, actions: Sequence[riverine.actions.AbstractAction] = (), _cache_key=None) list[riverine.units.DecimalQuantity][source]#
- _mixlines(tablefmt: str | tabulate.TableFormat, mix_vol: riverine.units.DecimalQuantity, actions: Sequence[riverine.actions.AbstractAction] = (), _cache_key=None) list[riverine.printing.MixLine][source]#
- mix_volume_effect(_cache_key=None)[source]#
The effect of the action on the mix volume.
- Returns:
MixVolumeDep – How the mix volume affects the action.
DecimalQuantity – If MixVolumeDep is DETERMINES, the total mix volume that the action causes. If MixVolumeDep is DEPENDS, NAN. If MixVolumeDep is INDEPENDENT, the total volume that the action adds.
- class riverine.echo.EchoEqualTargetConcentration[source]#
Bases:
AbstractEchoActionTransfer a fixed volume of liquid to a target mix.
- fixed_volume: riverine.units.DecimalQuantity[source]#
- droplet_volume: riverine.units.DecimalQuantity[source]#
- method: Literal['max_volume', 'min_volume', 'check'] | tuple[Literal['max_fill'], str] = 'min_volume'[source]#
- dest_concentrations(mix_vol: riverine.units.DecimalQuantity = NAN_VOL, actions: Sequence[riverine.actions.AbstractAction] = (), _cache_key=None) list[riverine.units.DecimalQuantity][source]#
- each_volumes(mix_volume: riverine.units.DecimalQuantity = NAN_VOL, actions: Sequence[riverine.actions.AbstractAction] = (), _cache_key=None) list[riverine.units.DecimalQuantity][source]#
- _mixlines(tablefmt: str | tabulate.TableFormat, mix_vol: riverine.units.DecimalQuantity, actions: Sequence[riverine.actions.AbstractAction] = (), _cache_key=None) list[riverine.printing.MixLine][source]#
- mix_volume_effect(_cache_key=None)[source]#
The effect of the action on the mix volume.
- Returns:
MixVolumeDep – How the mix volume affects the action.
DecimalQuantity – If MixVolumeDep is DETERMINES, the total mix volume that the action causes. If MixVolumeDep is DEPENDS, NAN. If MixVolumeDep is INDEPENDENT, the total volume that the action adds.
- class riverine.echo.EchoTargetConcentration[source]#
Bases:
AbstractEchoActionGet as close as possible (using direct transfers) to a target concentration, possibly varying mix volume.
- target_concentration: riverine.units.DecimalQuantity[source]#
- droplet_volume: riverine.units.DecimalQuantity[source]#
- dest_concentrations(mix_vol: riverine.units.DecimalQuantity = NAN_VOL, actions: Sequence[riverine.actions.AbstractAction] = (), _cache_key=None) list[riverine.units.DecimalQuantity][source]#
- each_volumes(mix_volume: riverine.units.DecimalQuantity = NAN_VOL, actions: Sequence[riverine.actions.AbstractAction] = (), _cache_key=None) list[riverine.units.DecimalQuantity][source]#
- _mixlines(tablefmt: str | tabulate.TableFormat, mix_vol: riverine.units.DecimalQuantity, actions: Sequence[riverine.actions.AbstractAction] = (), _cache_key=None) list[riverine.printing.MixLine][source]#
- mix_volume_effect(_cache_key=None)[source]#
The effect of the action on the mix volume.
- Returns:
MixVolumeDep – How the mix volume affects the action.
DecimalQuantity – If MixVolumeDep is DETERMINES, the total mix volume that the action causes. If MixVolumeDep is DEPENDS, NAN. If MixVolumeDep is INDEPENDENT, the total volume that the action adds.
- class riverine.echo.EchoFillToVolume[source]#
Bases:
AbstractEchoActionAbstract base class for Echo actions.
- target_total_volume: riverine.units.DecimalQuantity[source]#
- droplet_volume: riverine.units.DecimalQuantity[source]#
- dest_concentrations(mix_vol: riverine.units.DecimalQuantity = NAN_VOL, actions: Sequence[riverine.actions.AbstractAction] = (), _cache_key=None) list[riverine.units.DecimalQuantity][source]#
- each_volumes(mix_volume: riverine.units.DecimalQuantity = NAN_VOL, actions: Sequence[riverine.actions.AbstractAction] = (), _cache_key=None) list[riverine.units.DecimalQuantity][source]#
- _mixlines(tablefmt: str | tabulate.TableFormat, mix_vol: riverine.units.DecimalQuantity, actions: Sequence[riverine.actions.AbstractAction] = (), _cache_key=None) list[riverine.printing.MixLine][source]#
- mix_volume_effect(_cache_key=None)[source]#
The effect of the action on the mix volume.
- Returns:
MixVolumeDep – How the mix volume affects the action.
DecimalQuantity – If MixVolumeDep is DETERMINES, the total mix volume that the action causes. If MixVolumeDep is DEPENDS, NAN. If MixVolumeDep is INDEPENDENT, the total volume that the action adds.