UnitOperations

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: 4 Imported by: 0

Documentation

Overview

Package for working with bioprocessing unitoperations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PelletToComponent

func PelletToComponent(p Pellet) *wtype.Liquid

Types

type Chromstep

type Chromstep struct {
	Pipetstep
	Column
	Buffer *wtype.Liquid
}

type Column

type Column struct {
	Beadsize           wunit.Length
	Stationaryphase    string
	Separationproperty string
	Diameter           wunit.Length
	Height             wunit.Length
	Packedvolume       wunit.Volume
}

func Aspirate

func Aspirate(column Column, mixture *wtype.Liquid, volume wunit.Volume, aspiraterate wunit.FlowRate) (aspiratedcolumn Column, aspiratedsolution *wtype.Liquid)

may already be functions for aspirate and dispense in anthalib

func Blot

func Blot(column Column, blotcycles int, blottime time.Duration) (blottedcolumn Column)

func Chromatography

func Chromatography(input *wtype.Liquid, step Chromstep, column Column) (output_c *wtype.Liquid, processedcolumn Column)

func Resuspend(pellet Pellet, step Chromstep, column Column) (output_c *wtype.Liquid, processedcolumn Column) {

	var output *wtype.Liquid
	//input := PhysicaltoComponent(pellet)
	input := PelletToComponent(pellet)
	samples := make([]*wtype.Liquid, 0)
	samples = append(samples, step.Buffer, input)
	mixture := mixer.Mix(samples...)
	for i := 0; i < step.Pipetstep.Cycles; i++ {

		aspiratedcolumn, aspiratedsolution := Aspirate(column, mixture, step.Volume, step.Aspiraterate)
		time.Sleep(step.Aspiratepause)
		_, output = Dispense(aspiratedcolumn, aspiratedsolution, step.Volume, step.Dispenserate)
		time.Sleep(step.Dispensepause)
	}

	processedcolumn = column
	output_c = wtype.SolutionToComponent(output)
	return output_c, processedcolumn
}

func Dispense

func Dispense(column Column, mixture *wtype.Liquid, volume wunit.Volume, aspiraterate wunit.FlowRate) (dispensedcolumn Column, dispensedsolution *wtype.Liquid)

func Dry

func Dry(tips Column, Drytime time.Duration, Vacuumstrength float64) (drytips Column)

type Culture

type Culture struct {
	wtype.Suspension
	wtype.Organism
}

type Pellet

type Pellet struct {
}

func Separate

func Separate(culture Culture) (supernatant *wtype.Liquid, pellet Pellet)

type Phytips

type Phytips struct {
	Column
	Tip wtype.LHTip
}

type Pipetstep

type Pipetstep struct {
	Name          string
	Volume        wunit.Volume //transfer volume and process volume?
	Aspiraterate  wunit.FlowRate
	Aspiratepause time.Duration
	Dispenserate  wunit.FlowRate
	Dispensepause time.Duration
	Cycles        int
}

Jump to

Keyboard shortcuts

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