buffers

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

Documentation

Overview

Package for dealing with manipulation of buffers

Package for dealing with manipulation of buffers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dilute

func Dilute(moleculename string, stockconc wunit.Concentration, stockvolume wunit.Volume, diluentname string, diluentvoladded wunit.Volume) (dilutedconc wunit.Concentration, err error)

func DiluteBasedonMolecularWeight

func DiluteBasedonMolecularWeight(molecularweight float64, stockconc wunit.Concentration, stockvolume wunit.Volume, diluentname string, diluentvoladded wunit.Volume) (dilutedconc wunit.Concentration)

func StockConcentration

func StockConcentration(nameofmolecule string, massofmoleculeactuallyaddedinG wunit.Mass, diluent string, totalvolumeinL wunit.Volume) (actualconc wunit.Concentration, err error)

Types

type PH

type PH struct {
	PHValue float64
	Temp    wunit.Temperature
}

type PHMeasurement

type PHMeasurement struct {
	Component       *wtype.Liquid
	Location        *wtype.Plate
	PHValue         float64
	Temp            wunit.Temperature
	TempCorrected   *float64
	RefTemp         *wunit.Temperature
	TempCoefficient *PHperdegC
	Adjusted        *float64
	Adjustedwith    *wtype.Liquid
}

func MeasurePH

func MeasurePH(*wtype.Liquid) (measured PHMeasurement)

func (*PHMeasurement) AdjustpH

func (ph *PHMeasurement) AdjustpH(ph_setpoint float64, ph_tolerance float64, ph_setPointTemp wunit.Temperature, Acid *wtype.Liquid, Base *wtype.Liquid) (adjustedsol wtype.Liquid, newph PHMeasurement, componentadded wtype.Liquid, err error)

this should be performed on an LHComponent currently (wrongly) assumes only acid or base will be needed

func (*PHMeasurement) TempCompensation

func (ph *PHMeasurement) TempCompensation(reftemp wunit.Temperature, tempcoefficientforsolution PHperdegC) (compensatedph float64)

type PHperdegC

type PHperdegC float64

Directories

Path Synopsis
pacakge order deals with adding order details to an LHComponent.
pacakge order deals with adding order details to an LHComponent.

Jump to

Keyboard shortcuts

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