antha: github.com/antha-lang/antha/antha/anthalib/mixer Index | Files

package mixer

import "github.com/antha-lang/antha/antha/anthalib/mixer"

Package mixer deals with mixing and sampling in Antha

Index

Package Files

mixer.go

func GenericMix Uses

func GenericMix(opt MixOptions) *wtype.LHInstruction

GenericMix is the general mixing entry point

func Mix Uses

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

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

func MixInto Uses

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

MixInto the specified wtype.LHComponents together into a specific plate

func MixTo Uses

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 Uses

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 Uses

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

Sample takes a sample of volume v from this liquid

func SampleAll Uses

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

SampleAll takes all of this liquid

func SampleForConcentration Uses

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 Uses

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 Uses

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 Uses

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

SplitSample is a two-return version of sample

type MixOptions Uses

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

Package mixer imports 3 packages (graph) and is imported by 3 packages. Updated 2018-10-16. Refresh now. Tools for package owners.