bellini.groups.Liquid¶
- class bellini.groups.Liquid(name=None, **values)[source]¶
Bases:
bellini.groups.ChemicalBase class for all liquid-like Chemicals
- __init__(name=None, **values)¶
- Parameters
name (str) – Name of the group
**values – Values to be stored in the group
Methods
__init__([name])- Parameters
name (str) -- Name of the group
aliquot(volume)Return an aliquot of itself, as well as the remaining source solution
copy()Return a copy of itself
Attributes
A networkx graph representing how the group was constructed
A string used to represent the Group
- abstract aliquot(volume)[source]¶
Return an aliquot of itself, as well as the remaining source solution
- Parameters
volume (Quantity (volume)) – The amount of liquid to aliquot out of the current solution
- Returns
aliquot (Liquid) – The aliquot drawn from the initial solution
source (Liquid) – The remaining solution after the aliquot has been removed
- abstract copy()¶
Return a copy of itself
- property g¶
A networkx graph representing how the group was constructed
- property name¶
A string used to represent the Group