mixer

package
v0.0.0-...-040724e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2019 License: BSD-3-Clause, GPL-2.0, BSD-3-Clause, + 1 more Imports: 3 Imported by: 3

Documentation

Overview

Package mixer deals with mixing and sampling in Antha

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenericMix

func GenericMix(opt MixOptions) *wtype.LHInstruction

GenericMix is the general mixing entry point

func Mix

func Mix(inputs ...*wtype.Liquid) *wtype.Liquid

Mix the specified wtype.LHComponents together and leave the destination TBD

func MixInto

func MixInto(destination *wtype.Plate, address string, inputs ...*wtype.Liquid) *wtype.Liquid

MixInto the specified wtype.LHComponents together into a specific plate

func MixTo

func MixTo(platetype string, address string, platenum int, inputs ...*wtype.Liquid) *wtype.Liquid

MixTo the specified wtype.LHComponents together into a plate of a particular type

func MultiSample

func MultiSample(l []*wtype.Liquid, v []wunit.Volume) []*wtype.Liquid

MultiSample takes an array of samples and array of corresponding volumes and sample them all

func Sample

func Sample(l *wtype.Liquid, v wunit.Volume) *wtype.Liquid

Sample takes a sample of volume v from this liquid

func SampleAll

func SampleAll(l *wtype.Liquid) *wtype.Liquid

SampleAll takes all of this liquid

func SampleForConcentration

func SampleForConcentration(l *wtype.Liquid, c wunit.Concentration) *wtype.Liquid

SampleForConcentration takes a sample of this liquid and aims for a particular concentration

func SampleForTotalVolume

func SampleForTotalVolume(l *wtype.Liquid, v wunit.Volume) *wtype.Liquid

SampleForTotalVolume takes a sample of this liquid to be used to make the solution up to a particular total volume edited to take into account the volume of the other solution components

func SampleMass

func SampleMass(s *wtype.Liquid, m wunit.Mass, d wunit.Density) *wtype.Liquid

SampleMass takes a sample of this liquid and aims for a particular mass

func SplitSample

func SplitSample(l *wtype.Liquid, v wunit.Volume) (moving, remaining *wtype.Liquid)

SplitSample is a two-return version of sample

Types

type MixOptions

type MixOptions struct {
	Inputs      []*wtype.Liquid      // Components to mix (required)
	Instruction *wtype.LHInstruction // used to be LHSolution
	Output      *wtype.Liquid        // the resultant component
	Destination *wtype.Plate         // Destination plate; if nil, select one later
	PlateType   string               // type of destination plate
	Address     string               // Well in destination to place result; if nil, select one later
	PlateNum    int                  // which plate to stick these on
	PlateName   string               // which (named) plate to stick these on
}

MixOptions are options to GenericMix

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL