vivarium.library.make_media module¶
Functions for making media
-
class
vivarium.library.make_media.
Media
[source]¶ Bases:
object
A media object is a factory for making new media by combining media and ingredients at different volumes (with self.make_recipe(). Ingredients can be added by either specifying their weight (in grams) or the counts (in mmol) in addition to the volume. The new media dicts are returned to the caller, and are not saved in this object. A media object holds dicts about stock media in
`self.stock_media`
and the formula weight of environmental molecules in`self.environment_molecules_fw`
, which is needed for mixing in ingredients at weights.