Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetComponents ¶
GetComponents returns the components in a test inventory context
func GetTipboxes ¶
GetTipboxes returns the tipboxes in a test inventory context
Types ¶
type PlateForSerializing ¶
type PlateForSerializing struct { PlateType string // name of plate type, potentially including tiser Manufacturer string // name of plate manufacturer // shape "box", "mm", 8.2, 8.2, 41.3 -- defines well shape WellShape string // Name of well shape WellH float64 // size of well in X direction (long side of plate) WellW float64 // size of well in Y direction (short side of plate) WellD float64 // size of well in Z direction (vertical from plane of plate) // well "ul", 2000, 420, swshp, wtype.VWellBottom, 8.2, 8.2, 41.3, 4.7, "mm" MaxVol float64 // maximum volume well can hold in microlitres MinVol float64 // residual volume of well in microlitres BottomType wtype.WellBottomType // shape of well bottom, one of "flat","U", "V" BottomH float64 // offset from well bottom to rest of well in mm (i.e. height of U or V - 0 if flat) WellX float64 // size of well in X direction (long side of plate) WellY float64 // size of well in Y direction (short side of plate) WellZ float64 // size of well in Z direction (vertical from plane of plate) // "Nunc96DeepWell", "Unknown", 8, 12, makePlateCoords(43.6), nunc96deepwell, 9, 9, -1.0, 0.0, 6.5 ColSize int // number of wells in a column RowSize int // number of wells in a row Height float64 // size of plate in Z direction (vertical from plane of plate) WellXOffset float64 // distance between adjacent well centres in X direction (long side) WellYOffset float64 // distance between adjacent well centres in Y direction (short side) WellXStart float64 // offset from top-left corner of plate to centre of top-leftmost well in X direction (long side) WellYStart float64 // offset from top-left corner of plate to centre of top-leftmost well in Y direction (short side) WellZStart float64 // offset from top of plate to well bottom Extra map[string]interface{} // container for additional well properties such as constraints }
PlateForSerializing contains required measurements and other properties for creating a plate of a given type but doesn't represent each well individually
func NewPlateForSerializing ¶
func NewPlateForSerializing(plate *wtype.LHPlate) PlateForSerializing
NewPlateForSerializing get an easily serializable version of the plate
func (PlateForSerializing) LHPlate ¶
func (pt PlateForSerializing) LHPlate() *wtype.Plate
LHPlate returns an initialized, empty, LHPlate of the type corresponding to this PlateForSerializing
Source Files ¶
Click to show internal directories.
Click to hide internal directories.